diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-10-03 08:42:03 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-10-03 08:42:03 +0200 |
commit | dff2e350246d462dd8a70fb211e08554bcf95723 (patch) | |
tree | 126739110afa3089d975f490867e5231499585c9 /trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarMiddleButton.java | |
parent | e3fd80899e714e60c329aca6e2d3654cf2fbc93a (diff) | |
download | pdf-over-dff2e350246d462dd8a70fb211e08554bcf95723.tar.gz pdf-over-dff2e350246d462dd8a70fb211e08554bcf95723.tar.bz2 pdf-over-dff2e350246d462dd8a70fb211e08554bcf95723.zip |
Main Bar improvements
Configuration fixed
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarMiddleButton.java')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarMiddleButton.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarMiddleButton.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarMiddleButton.java index e6d469b6..6d992799 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarMiddleButton.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarMiddleButton.java @@ -52,7 +52,7 @@ public class MainBarMiddleButton extends MainBarButton { int height = size.y - 3; - int split = 10; + int split = SplitFactor; int width = size.x - split; e.gc.drawLine(0, 0, width, 0); @@ -64,6 +64,7 @@ public class MainBarMiddleButton extends MainBarButton { } + /* (non-Javadoc) * @see at.asit.pdfover.gui.controls.MainBarButton#getCustomRegion() */ @@ -73,7 +74,7 @@ public class MainBarMiddleButton extends MainBarButton { int height = size.y - 2; - int split = 10; + int split = SplitFactor; int width = size.x - split; |