From: <mwl...@us...> - 2007-06-27 18:54:33
|
Revision: 405 http://svn.sourceforge.net/cishell/?rev=405&view=rev Author: mwlinnem Date: 2007-06-27 11:54:31 -0700 (Wed, 27 Jun 2007) Log Message: ----------- fixed display issue for visualization with annotation dialog boxes, where lack of text wrap would cause the box to be huge. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java Modified: trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java 2007-05-17 20:29:22 UTC (rev 404) +++ trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java 2007-06-27 18:54:31 UTC (rev 405) @@ -68,7 +68,7 @@ //stuff to display a message String message = ocd.getDescription(); if(message != null && !message.equals("")){ - Label msg = new Label(shell, SWT.CENTER); + Label msg = new Label(shell, SWT.WRAP); msg.setText(message); GridData labelData = new GridData(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |