summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:37:08 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:37:08 +0000
commit02aa9bf7698ea7d3b8726c9a8e3e4d3dcbefe398 (patch)
treee9f67afe80c7b8a7fe6ccc8493c034851704d449 /trunk/pdf-over-gui/src/main
parente0ad592299e9d0ae225b47ba65b2de011a006ab4 (diff)
downloadpdf-over-02aa9bf7698ea7d3b8726c9a8e3e4d3dcbefe398.tar.gz
pdf-over-02aa9bf7698ea7d3b8726c9a8e3e4d3dcbefe398.tar.bz2
pdf-over-02aa9bf7698ea7d3b8726c9a8e3e4d3dcbefe398.zip
Use mainbar color for Signature overlay
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12783 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui/src/main')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
index 358354e3..e69b735c 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java
+++ b/trunk/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();