From 2447b1d86aee2c0c279773890dcfe0f44486c6aa Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 31 Oct 2012 16:36:23 +0000 Subject: + fixed windows mainbar redraw issue git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12669 3a0b52a2-8410-0410-bc02-ff6273a87459 --- trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'trunk/pdf-over-gui') 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(); } -- cgit v1.2.3