diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:00:08 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:00:08 +0000 |
commit | 9b2b35abfe8a454c1b4038489025977c9f31a30d (patch) | |
tree | 1c39b882883cb866b196aa2fd35aa3828c423965 /pdf-over-gui/src/main/java/at/asit | |
parent | da4db8129dd4af8990e82a959a354ee7ce2673fa (diff) | |
download | pdf-over-9b2b35abfe8a454c1b4038489025977c9f31a30d.tar.gz pdf-over-9b2b35abfe8a454c1b4038489025977c9f31a30d.tar.bz2 pdf-over-9b2b35abfe8a454c1b4038489025977c9f31a30d.zip |
Not scaling config image
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@74 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java index 4992ef1a..576c1216 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java @@ -346,8 +346,7 @@ public abstract class MainBarButton extends Canvas { e.gc.setForeground(current); } else { int imgx = (width - height) / 2; - Image tmp = new Image(getDisplay(), this.image.getImageData() - .scaledTo(height, height)); + Image tmp = new Image(getDisplay(), this.image.getImageData()); e.gc.drawImage(tmp, imgx, 0); } |