summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:00:57 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:00:57 +0000
commitfa1fe4e607377417b0e9c6483e734b599f7b6f8d (patch)
treefd24e7245e7c41918ad6e95d12e8f0ad605911f5
parentbeffe36ca63f6075935ae23ae09c10bbef12d005 (diff)
downloadpdf-over-fa1fe4e607377417b0e9c6483e734b599f7b6f8d.tar.gz
pdf-over-fa1fe4e607377417b0e9c6483e734b599f7b6f8d.tar.bz2
pdf-over-fa1fe4e607377417b0e9c6483e734b599f7b6f8d.zip
+ fixed windows mainbar redraw issue
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@83 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-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();
}