Author: snjeza
Date: 2011-06-07 12:59:04 -0400 (Tue, 07 Jun 2011)
New Revision: 31878
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
Log:
JBIDE-8188 Runtimes preferences page has wrong layout
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
===================================================================
---
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java 2011-06-07
12:41:01 UTC (rev 31877)
+++
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java 2011-06-07
16:59:04 UTC (rev 31878)
@@ -112,17 +112,18 @@
Composite composite = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout(1, false);
-
+ composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
composite.setLayout(layout);
Group pathsGroup = createGroup(composite,1);
-
+ pathsGroup.setText("Description");
Label pathsDescription = new Label(pathsGroup, SWT.NONE);
pathsDescription.setText("Each path on this list will be automatically scanned for
runtimes when\n" +
"a new workspace is created or if selected at every Eclipse startup.\n" +
"Click Edit to configure rules/filters for the search.");
Group pathsTableGroup = createGroup(composite,2);
+ pathsTableGroup.setText("Paths");
runtimePathViewer = createRuntimePathViewer(pathsTableGroup);
Group detectorGroup = createGroup(composite,1);
@@ -207,7 +208,7 @@
private Group createGroup(Composite composite, int column) {
GridLayout layout;
Group group = new Group(composite, SWT.NONE);
- GridData gd = new GridData(SWT.FILL, SWT.FILL, false, false);
+ GridData gd = new GridData(SWT.FILL, SWT.FILL, true, false);
group.setLayoutData(gd);
layout = new GridLayout(column, false);
group.setLayout(layout);
Show replies by date