summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:12:39 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:12:39 +0000
commit2324bf28946d13abe472720a053be2f8a67fbab8 (patch)
tree3709d4185e230b34d846df155df3bc309229087d /pdf-over-gui/src/main/java/at/asit
parent36dea207f5f2553e266e4ba8e7209e938498e3d9 (diff)
downloadpdf-over-2324bf28946d13abe472720a053be2f8a67fbab8.tar.gz
pdf-over-2324bf28946d13abe472720a053be2f8a67fbab8.tar.bz2
pdf-over-2324bf28946d13abe472720a053be2f8a67fbab8.zip
Use mainbar color for Signature overlay
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@197 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/composites/SignaturePanel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
index 358354e3..e69b735c 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
@@ -342,7 +342,7 @@ public class SignaturePanel extends JPanel {
float scale = (((float) this.sigScreenWidth) / this.sigPlaceholder.getWidth(null)) * 150;
log.debug(Float.toString(scale));
g_phs.setFont(getFont().deriveFont(scale));
- g_phs.setColor(Color.GRAY);
+ g_phs.setColor(sigPlaceholderBorderColor);
Rectangle2D overlay_size = g_phs.getFontMetrics().getStringBounds(overlay, g_phs);
int width = (int) overlay_size.getWidth();
int height = (int) overlay_size.getHeight();