summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:59:29 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:59:29 +0000
commite60e1df5284c93b25cf6f6a477b924850dffb9d5 (patch)
tree86a8bec1e0bcac482b742174a87d1a1190a405f8 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java
parentac47a525b1338100c7489ec60fed24ce10f57394 (diff)
downloadpdf-over-e60e1df5284c93b25cf6f6a477b924850dffb9d5.tar.gz
pdf-over-e60e1df5284c93b25cf6f6a477b924850dffb9d5.tar.bz2
pdf-over-e60e1df5284c93b25cf6f6a477b924850dffb9d5.zip
UI Improvements
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@69 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java
index 923df73e..1b749883 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarEndButton.java
@@ -52,13 +52,13 @@ public class MainBarEndButton extends MainBarButton {
@Override
protected void paintButton(PaintEvent e) {
Point size = this.getSize();
- int height = size.y - 2;
+ int height = size.y - 3;
int split = 10;
- int width = size.x;
+ int width = size.x - 1;
e.gc.drawLine(0, 0, width, 0);
- e.gc.drawLine(width, 0, width+split, (height) / 2);
+ e.gc.drawLine(width, 0, width, height);
e.gc.drawLine(width, height, 0, height);
e.gc.drawLine(0, height, 0+split, (height) / 2);
e.gc.drawLine(0+split, (height) / 2, 0, 0);