From 02aa9bf7698ea7d3b8726c9a8e3e4d3dcbefe398 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 31 Oct 2012 16:37:08 +0000 Subject: 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 --- .../src/main/java/at/asit/pdfover/gui/composites/SignaturePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trunk/pdf-over-gui/src/main/java') 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(); -- cgit v1.2.3