Author: scabanovich
Date: 2009-11-19 10:03:49 -0500 (Thu, 19 Nov 2009)
New Revision: 18744
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/PropertyEditorDialog.java
Log:
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/PropertyEditorDialog.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/PropertyEditorDialog.java 2009-11-19
14:55:29 UTC (rev 18743)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/PropertyEditorDialog.java 2009-11-19
15:03:49 UTC (rev 18744)
@@ -131,7 +131,16 @@
protected void setWizard(IWizard newWizard) {
}
public Layout createLayout(int mw, int mh, int minW, int minH) {
- return new PageContainerFillLayout(mw, mh, minW, minH);
+ return new PageContainerFillLayout(mw, mh, minW, minH) {
+ public Point computeSize(Composite composite, int wHint, int hHint,
+ boolean force) {
+ Point p = super.computeSize(composite, wHint, hHint, force);
+ if(p.y > 400) p.y = 400;
+ return p;
+ }
+
+ };
+
}
}