PROP : Advanced border style layout. 27/21727/1
authornakyoung2.choi <nakyoung2.choi@samsung.com>
Tue, 27 May 2014 02:41:07 +0000 (11:41 +0900)
committernakyoung2.choi <nakyoung2.choi@samsung.com>
Tue, 27 May 2014 02:41:07 +0000 (11:41 +0900)
Change-Id: I2a76d246b025a06c8691f84417afb4b8b385426d
Signed-off-by: nakyoung2.choi <nakyoung2.choi@samsung.com>
org.tizen.webuibuilder/src/org/tizen/webuibuilder/ui/views/properties/method/BorderMethod.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/ui/views/properties/method/SizeMethod.java

index dbe5ad9..8aa126d 100644 (file)
@@ -102,14 +102,12 @@ public class BorderMethod extends GroupMethod {
                 FormData data = new FormData();
                 if (index == 0) {
                     data.left = new FormAttachment(0, 0);
-                    data.width = 40;
+                    data.width = 30;
                 } else if (index == 1) {
                     data.left = new FormAttachment(methods.get(0), 3);
                     data.right = new FormAttachment(50, 0);
-                    method.setControlRightData(75, 0);
                 } else if (index == 2) {
                     data.left = new FormAttachment(methods.get(1), 3);
-                    // data.width = 80;
                     data.right = new FormAttachment(100, 0);
                     method.setControlRightData(100, 0);
                 }
index 39e5ef8..8bb4570 100644 (file)
@@ -373,6 +373,13 @@ public class SizeMethod extends Method {
             super.modifyValue(value);
         }
     }
+    
+    @Override
+    protected FormData getControlLayoutData() {
+        FormData data = super.getControlLayoutData();
+        data.right = new FormAttachment(100, 0);
+        return data;
+    }
 
 
 }