summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java4
1 files changed, 3 insertions, 1 deletions
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 fb29ae9b..c8455d3f 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
@@ -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();
}