summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:19 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:19 +0000
commitd22e316d99aed7657e9e6ba65cec2882cad219d2 (patch)
tree19ceaa825c92625f469df9d15d2f3ef33bf98468 /trunk/pdf-over-gui
parent1fa76ce4d1bd43bcb960e6c4945e532e3fb3b4f7 (diff)
downloadpdf-over-d22e316d99aed7657e9e6ba65cec2882cad219d2.tar.gz
pdf-over-d22e316d99aed7657e9e6ba65cec2882cad219d2.tar.bz2
pdf-over-d22e316d99aed7657e9e6ba65cec2882cad219d2.zip
Not scaling config image
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12660 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java
index 4992ef1a..576c1216 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java
+++ b/trunk/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);
}