|
From: <mwl...@us...> - 2007-07-02 18:31:28
|
Revision: 414
http://svn.sourceforge.net/cishell/?rev=414&view=rev
Author: mwlinnem
Date: 2007-07-02 11:31:24 -0700 (Mon, 02 Jul 2007)
Log Message:
-----------
Commiting so I can see if fix for text wrap issue works on Windows.
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-07-02 16:12:55 UTC (rev 413)
+++ trunk/clients/gui/org.cishell.reference.gui.guibuilder.swt/src/org/cishell/reference/gui/guibuilder/swt/SWTGui.java 2007-07-02 18:31:24 UTC (rev 414)
@@ -70,9 +70,12 @@
if(message != null && !message.equals("")){
Label msg = new Label(shell, SWT.WRAP);
msg.setText(message);
+ msg.pack();
+ msg.update();
GridData labelData = new GridData();
- labelData.horizontalAlignment = SWT.CENTER;
+ labelData.horizontalAlignment = SWT.FILL;
+ labelData.grabExcessHorizontalSpace = true;
msg.setLayoutData(labelData);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|