[jboss-svn-commits] JBL Code SVN: r9193 - labs/jbossrules/trunk/drools-testing-plugin/src/org/drools/testing/plugin/wizards.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Jan 31 08:24:04 EST 2007
Author: mshaw
Date: 2007-01-31 08:24:04 -0500 (Wed, 31 Jan 2007)
New Revision: 9193
Modified:
labs/jbossrules/trunk/drools-testing-plugin/src/org/drools/testing/plugin/wizards/RtlNewPage.java
Log:
Layout column width bug fix.
Modified: labs/jbossrules/trunk/drools-testing-plugin/src/org/drools/testing/plugin/wizards/RtlNewPage.java
===================================================================
--- labs/jbossrules/trunk/drools-testing-plugin/src/org/drools/testing/plugin/wizards/RtlNewPage.java 2007-01-31 12:24:48 UTC (rev 9192)
+++ labs/jbossrules/trunk/drools-testing-plugin/src/org/drools/testing/plugin/wizards/RtlNewPage.java 2007-01-31 13:24:04 UTC (rev 9193)
@@ -56,16 +56,14 @@
Composite container = new Composite(parent, SWT.NULL);
GridLayout layout = new GridLayout();
container.setLayout(layout);
- layout.numColumns = 4;
+ layout.numColumns = 3;
layout.verticalSpacing = 9;
Label label = new Label(container, SWT.NULL);
- label = new Label(container, SWT.NULL);
- GridData gd = new GridData(GridData.FILL_HORIZONTAL);
label.setText("&File name:");
fileText = new Text(container, SWT.BORDER | SWT.SINGLE);
- gd = new GridData(GridData.FILL_HORIZONTAL);
+ GridData gd = new GridData(GridData.FILL_HORIZONTAL);
fileText.setLayoutData(gd);
fileText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
@@ -82,11 +80,11 @@
});
label = new Label(container, SWT.NULL);
- label = new Label(container, SWT.NULL);
label.setText("&Rtl name:");
rtlFileText = new Text(container, SWT.BORDER | SWT.SINGLE);
gd = new GridData(GridData.FILL_HORIZONTAL);
+ gd.horizontalSpan = 2;
rtlFileText.setLayoutData(gd);
rtlFileText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
@@ -95,7 +93,7 @@
});
label = new Label(container, SWT.NULL);
- label.setText("Container:");
+ label.setText("&Container:");
containerText = new Text(container, SWT.BORDER | SWT.SINGLE);
gd = new GridData(GridData.FILL_HORIZONTAL);
More information about the jboss-svn-commits
mailing list