summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pdf-over-gui')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
index fb29ae9b..c8455d3f 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
@@ -205,7 +205,7 @@ public class MainWindow {
this.btn_config = new MainBarRectangleButton(this.mainbar, SWT.NONE);
FormData fd_btn_config = new FormData();
fd_btn_config.bottom = new FormAttachment(100);
- fd_btn_config.right = new FormAttachment(0, 57);
+ fd_btn_config.right = new FormAttachment(0, 50);
fd_btn_config.top = new FormAttachment(0);
fd_btn_config.left = new FormAttachment(0);
this.btn_config.setLayoutData(fd_btn_config);
@@ -374,6 +374,8 @@ public class MainWindow {
this.mainBarFormData.bottom = new FormAttachment(0, 0);
}
+ this.getShell().getDisplay().update();
+ this.mainbar.layout(true, true);
this.mainbar.redraw();
}