From 714123471b8bc8eaedecf720f5c0d6ff7e65adc9 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:00:32 +0000 Subject: Set foreground color to black git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@78 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src') 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 5ee261f1..a3e95e23 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 @@ -83,7 +83,8 @@ public abstract class MainBarButton extends Canvas { this.inactiveBackground = new Color(getDisplay(),0xD4, 0xE7, 0xF1); this.activeBackground1 = new Color(getDisplay(),0x6B, 0xA5, 0xD9); this.activeBackground = new Color(getDisplay(),0xB4, 0xCD, 0xEC); - this.textColor = this.getForeground(); + //this.textColor = this.getForeground(); + this.textColor = new Color(getDisplay(), 0x00, 0x00, 0x00); this.borderColor = new Color(getDisplay(), 0xf9, 0xf9, 0xf9); this.inactiveText = new Color(getDisplay(), 0x40, 0x40, 0x40); this.textsize = StateComposite.TEXT_SIZE_BUTTON; -- cgit v1.2.3