From 178be2b2d7e783a163904c218ae666cacdeac81c Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:09:33 +0000 Subject: Mainbar backgrounds right way around git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@164 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../at/asit/pdfover/gui/composites/DataSourceSelectComposite.java | 6 +++--- .../asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java index b2df6296..8c3c1e25 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java @@ -150,10 +150,10 @@ public class DataSourceSelectComposite extends StateComposite { public DataSourceSelectComposite(Composite parent, int style, State state) { super(parent, style, state); - this.activeBackground = Constants.MAINBAR_ACTIVE_BACK_DARK; + this.activeBackground = Constants.MAINBAR_ACTIVE_BACK_LIGHT; this.inactiveBackground = Constants.MAINBAR_INACTIVE_BACK; - this.inactiveBorder = Constants.MAINBAR_ACTIVE_BACK_DARK; - this.activeBorder = Constants.MAINBAR_ACTIVE_BACK_LIGHT; + this.inactiveBorder = Constants.MAINBAR_ACTIVE_BACK_LIGHT; + this.activeBorder = Constants.MAINBAR_ACTIVE_BACK_DARK; this.backgroundColor = this.inactiveBackground; this.borderColor = Constants.DROP_BORDER_COLOR; diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java index 3cd7372f..45fd3dff 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java @@ -182,7 +182,7 @@ public class MobileBKUEnterNumberComposite extends StateComposite { Rectangle clientArea = containerComposite.getClientArea(); //e.gc.setForeground(); - e.gc.setForeground(Constants.MAINBAR_ACTIVE_BACK_LIGHT); + e.gc.setForeground(Constants.MAINBAR_ACTIVE_BACK_DARK); e.gc.setLineWidth(3); e.gc.setLineStyle(SWT.LINE_SOLID); e.gc.drawRoundRectangle(clientArea.x, -- cgit v1.2.3