summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org.tizen.web.advanceddeclarationview/src/org/tizen/web/advanceddeclarationview/ui/GUIBuilderDeclarationPage.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/org.tizen.web.advanceddeclarationview/src/org/tizen/web/advanceddeclarationview/ui/GUIBuilderDeclarationPage.java b/org.tizen.web.advanceddeclarationview/src/org/tizen/web/advanceddeclarationview/ui/GUIBuilderDeclarationPage.java
index 36f7a17..49ddb0c 100644
--- a/org.tizen.web.advanceddeclarationview/src/org/tizen/web/advanceddeclarationview/ui/GUIBuilderDeclarationPage.java
+++ b/org.tizen.web.advanceddeclarationview/src/org/tizen/web/advanceddeclarationview/ui/GUIBuilderDeclarationPage.java
@@ -378,13 +378,13 @@ IMenuListener, IPropertyChangeListener {
tabLabels[i] = new Label(tabComposite, SWT.LEFT | SWT.BORDER);
switch (i) {
case MODE_HTML:
- tabLabels[i].setText("HTML");
+ tabLabels[i].setText(" HTML ");
break;
case MODE_CSS:
- tabLabels[i].setText("CSS");
+ tabLabels[i].setText(" CSS");
break;
case MODE_JS:
- tabLabels[i].setText("JS");
+ tabLabels[i].setText(" JS");
break;
default:
break;
@@ -892,7 +892,7 @@ IMenuListener, IPropertyChangeListener {
formData = new FormData();
formData.left = new FormAttachment(0, margin);
- formData.right = new FormAttachment(25, -2 * margin);
+ formData.width = 250;
formData.top = new FormAttachment(0, margin);
fComboViewer.getControl().setLayoutData(formData);
@@ -919,7 +919,7 @@ IMenuListener, IPropertyChangeListener {
formData = new FormData();
formData.left = new FormAttachment(0, margin);
- formData.right = new FormAttachment(8, 0);
+ formData.width = SWT.DEFAULT;
formData.bottom = new FormAttachment(100, -margin);
formData.top = new FormAttachment(topControl, margin);
tabComposite.setLayoutData(formData);