PROP : Fix layout bug on AttributesTab 40/17040/1
authormucikan <nakyoung2.choi@samsung.com>
Mon, 3 Mar 2014 06:03:01 +0000 (15:03 +0900)
committermucikan <nakyoung2.choi@samsung.com>
Mon, 3 Mar 2014 06:03:01 +0000 (15:03 +0900)
Fix layout bug on AttributesTab. Modified GridData of Method.

Change-Id: Ice3943743736afd9190d56d05dea0175cc54e4e6
Signed-off-by: mucikan <nakyoung2.choi@samsung.com>
org.tizen.webuibuilder/src/org/tizen/webuibuilder/ui/views/properties/attributes/AttributesTab.java
org.tizen.webuibuilder/src/org/tizen/webuibuilder/ui/views/properties/style/CssStyleTab.java

index ca9cf93..3ecae93 100644 (file)
@@ -154,7 +154,7 @@ public class AttributesTab extends PropertiesTabItem {
                 if (method == null) {
                     continue;
                 }
-                method.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+                method.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
                 method.setLabelRightData(32, 0);
                 method.setControlRightData(100, 0);
 
@@ -223,7 +223,7 @@ public class AttributesTab extends PropertiesTabItem {
 
     private CategoryComposite createCategory(String CategoryName) {
         CategoryComposite categoryComposite = new CategoryComposite(content, CategoryName);
-        categoryComposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+        categoryComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
         categoryComposite.addExpansionListener(new ExpansionAdapter() {
 
             @Override
index ca3b47d..5e93139 100644 (file)
@@ -204,7 +204,7 @@ public class CssStyleTab extends PropertiesTabItem implements IPageDataListener
                     method.setLabelRightData(50, 1);
                     method.setControlRightData(90, 0);
                 } else {
-                    method.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2,
+                    method.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2,
                                                       1));
                     method.setLabelRightData(32, 0);
                     method.setControlRightData(100, 0);
@@ -895,7 +895,7 @@ public class CssStyleTab extends PropertiesTabItem implements IPageDataListener
     private CategoryComposite createCategory(String CategoryName, String brief) {
         CategoryComposite categoryComposite =
                 new CategoryComposite(categoryContainer, CategoryName, brief);
-        categoryComposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+        categoryComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
         categoryComposite.addExpansionListener(new ExpansionAdapter() {
 
             @Override