Author: snjeza
Date: 2010-05-18 17:26:04 -0400 (Tue, 18 May 2010)
New Revision: 22195
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizardPage.java
Log:
https://jira.jboss.org/browse/JBIDE-6273 Example details disappear when wizard page is
resized
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizardPage.java
===================================================================
---
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizardPage.java 2010-05-18
19:35:29 UTC (rev 22194)
+++
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizardPage.java 2010-05-18
21:26:04 UTC (rev 22195)
@@ -128,7 +128,9 @@
SWT.COLOR_WIDGET_BACKGROUND));
final TreeViewer viewer = filteredTree.getViewer();
Tree tree = viewer.getTree();
- tree.setLayoutData(new GridData(GridData.FILL_BOTH));
+ gd = new GridData(GridData.FILL_HORIZONTAL);
+ gd.heightHint=75;
+ tree.setLayoutData(gd);
tree.setFont(parent.getFont());
viewer.setLabelProvider(new ProjectLabelProvider());