[jbosstools-commits] JBoss Tools SVN: r39364 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Mar 7 21:21:37 EST 2012


Author: scabanovich
Date: 2012-03-07 21:21:35 -0500 (Wed, 07 Mar 2012)
New Revision: 39364

Modified:
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewDSXMLWizard.java
Log:
JBIDE-11203
https://issues.jboss.org/browse/JBIDE-11203
Layout fix.

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewDSXMLWizard.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewDSXMLWizard.java	2012-03-08 01:36:13 UTC (rev 39363)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/newfile/NewDSXMLWizard.java	2012-03-08 02:21:35 UTC (rev 39364)
@@ -320,7 +320,7 @@
 			Composite topLevel = new Composite(parent, SWT.NONE);
 			topLevel.setLayout(new GridLayout());
 			topLevel.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL
-					| GridData.HORIZONTAL_ALIGN_FILL));
+					| GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
 			topLevel.setFont(parent.getFont());
 			PlatformUI.getWorkbench().getHelpSystem().setHelp(topLevel,
 					IIDEHelpContextIds.NEW_FILE_WIZARD_PAGE);
@@ -333,6 +333,8 @@
 			}, false);
 			templateSelEditor = NewDSXMLWizardFactory.createTemplateFieldEditor(NewDSXMLWizardFactory.TEMPLATE_LIST[0]);
 			Composite q = new Composite(topLevel, 0);
+			q.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL
+					| GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
 			GridLayout l = new GridLayout(4, false);
 			q.setLayout(l);
 			connProfileSelEditor.doFillIntoGrid(q);



More information about the jbosstools-commits mailing list