diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-12 10:55:59 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-12 10:55:59 +0200 |
commit | cc90fdae62ed312a0328f12e48a285ca84d46016 (patch) | |
tree | 847d546804ff4a897a7078f73fa4f82af89702db /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration | |
parent | a2d7c408cd21c74c4f196edc38b0b273950c1eb8 (diff) | |
download | pdf-over-cc90fdae62ed312a0328f12e48a285ca84d46016.tar.gz pdf-over-cc90fdae62ed312a0328f12e48a285ca84d46016.tar.bz2 pdf-over-cc90fdae62ed312a0328f12e48a285ca84d46016.zip |
redraw signature preview on LOTS focus loss
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java index 94362b54..237da062 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java @@ -277,6 +277,9 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { configurationContainer.logoOnlyTargetSize = sclLogoOnlyTargetSize.getSelection(); this.updateLogoOnlyTargetSizeCurrentValueLabel(); }); + sclLogoOnlyTargetSize.addFocusListener(new FocusAdapter() { + public void focusLost(FocusEvent e) { signatureBlockPreviewChanged(); }; + }); this.lblLogoOnlyTargetSizeCurrentValue = new Label(this.grpLogoOnlyTargetSize, SWT.HORIZONTAL); SWTUtils.anchor(lblLogoOnlyTargetSizeCurrentValue).top(sclLogoOnlyTargetSize, 5).left(0,5).right(100,-5); |