Author: rob.stryker(a)jboss.com
Date: 2009-03-27 11:57:50 -0400 (Fri, 27 Mar 2009)
New Revision: 14353
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java
Log:
JBIDE-3821 port text field shrinks in some setups
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java 2009-03-27
14:59:18 UTC (rev 14352)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/PortSection.java 2009-03-27
15:57:50 UTC (rev 14353)
@@ -178,13 +178,13 @@
detect.setLayoutData(data);
data = new FormData();
- data.left = new FormAttachment(detect, -200);
data.right = new FormAttachment(detect, -5);
+ data.left = new FormAttachment(0, 100);
data.top = new FormAttachment(0,5);
text.setLayoutData(data);
data = new FormData();
- data.right = new FormAttachment(text,-5);
+ data.left = new FormAttachment(0,5);
data.top = new FormAttachment(0,8);
label.setLayoutData(data);
@@ -274,6 +274,7 @@
data = new FormData();
data.top = new FormAttachment(top,0);
data.left = new FormAttachment(0,0);
+ data.right = new FormAttachment(100,-5);
wrapper.setLayoutData(data);
top = null;
for( int i = 0; i < extensions.length; i++ ) {
Show replies by date