From fa1fe4e607377417b0e9c6483e734b599f7b6f8d Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:00:57 +0000 Subject: + fixed windows mainbar redraw issue git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@83 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/java/at/asit') 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(); } -- cgit v1.2.3