Author: rob.stryker(a)jboss.com
Date: 2008-01-23 01:32:12 -0500 (Wed, 23 Jan 2008)
New Revision: 5905
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java
Log:
JBIDE-1306 slight UI improvement
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java 2008-01-23
05:35:15 UTC (rev 5904)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java 2008-01-23
06:32:12 UTC (rev 5905)
@@ -132,11 +132,12 @@
// first row
FormData labelData = new FormData();
labelData.left = new FormAttachment(0,5);
+ labelData.right = new FormAttachment(text,-5);
labelData.top = new FormAttachment(descriptionLabel,5);
label.setLayoutData(labelData);
FormData textData = new FormData();
- textData.left = new FormAttachment(label, 5);
+ textData.left = new FormAttachment(button, -305);
textData.top = new FormAttachment(descriptionLabel,5);
textData.right = new FormAttachment(button, -5);
text.setLayoutData(textData);
@@ -150,11 +151,12 @@
// second row
FormData tempLabelData = new FormData();
tempLabelData.left = new FormAttachment(0,5);
+ tempLabelData.right = new FormAttachment(text, -5);
tempLabelData.top = new FormAttachment(text,5);
tempDeployLabel.setLayoutData(tempLabelData);
FormData tempTextData = new FormData();
- tempTextData.left = new FormAttachment(tempDeployLabel, 5);
+ tempTextData.left = new FormAttachment(tempDeployButton, -305);
tempTextData.top = new FormAttachment(text,5);
tempTextData.right = new FormAttachment(tempDeployButton, -5);
tempDeployText.setLayoutData(tempTextData);
@@ -165,8 +167,6 @@
tempButtonData.top = new FormAttachment(text,5);
tempDeployButton.setLayoutData(tempButtonData);
-
-
text.setEditable(false);
tempDeployText.setEditable(false);
Show replies by date