diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-10-23 09:10:47 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-10-23 09:10:47 +0200 |
commit | 86f1565d19616563bfa492a3f7ab56135a2f7d7f (patch) | |
tree | 1adeee1430b4d7633496906ee8e88d30f7a1ee11 /trunk/pdf-over-gui/src/main/java/at/asit | |
parent | b8ce94f8e7392124e7f0db6c2558dfda66ea6c22 (diff) | |
download | pdf-over-86f1565d19616563bfa492a3f7ab56135a2f7d7f.tar.gz pdf-over-86f1565d19616563bfa492a3f7ab56135a2f7d7f.tar.bz2 pdf-over-86f1565d19616563bfa492a3f7ab56135a2f7d7f.zip |
+ fixed windows mainbar redraw issue
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at/asit')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 4 |
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(); } |