From f294a5abda6947a2edd7eb502ca340ac6c02f68f Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:57:24 +0000 Subject: Minor GUI changes to MainBar Buttons git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@56 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java index e86cf907..dd735bbf 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java @@ -189,13 +189,13 @@ public class MainWindow { this.mainBarFormData.left = new FormAttachment(0, 5); this.mainBarFormData.right = new FormAttachment(100, -5); this.mainBarFormData.top = new FormAttachment(0, 5); - this.mainBarFormData.bottom = new FormAttachment(0, 60); + this.mainBarFormData.bottom = new FormAttachment(0, 50); composite.setLayoutData(this.mainBarFormData); this.btn_config = new MainBarRectangleButton(composite, SWT.NONE); FormData fd_btn_config = new FormData(); fd_btn_config.bottom = new FormAttachment(0, 45); - fd_btn_config.right = new FormAttachment(10,0); + fd_btn_config.right = new FormAttachment(0,45); fd_btn_config.top = new FormAttachment(0); fd_btn_config.left = new FormAttachment(0, 2); this.btn_config.setLayoutData(fd_btn_config); @@ -229,7 +229,7 @@ public class MainWindow { fd_btn_open.bottom = new FormAttachment(0, 45); fd_btn_open.right = new FormAttachment(35, 5); fd_btn_open.top = new FormAttachment(0); - fd_btn_open.left = new FormAttachment(10, 0); + fd_btn_open.left = new FormAttachment(0, 45); this.btn_open.setLayoutData(fd_btn_open); this.btn_open.setText("Open"); this.btn_open.addMouseListener(new MouseListener() { @@ -304,7 +304,7 @@ public class MainWindow { FormData fd_composite_1 = new FormData(); fd_composite_1.bottom = new FormAttachment(100, -25); fd_composite_1.right = new FormAttachment(100, -5); - fd_composite_1.top = new FormAttachment(0, 60); + fd_composite_1.top = new FormAttachment(0, 50); fd_composite_1.left = new FormAttachment(0, 5); this.container.setLayoutData(fd_composite_1); this.stack = new StackLayout(); -- cgit v1.2.3