From cc90fdae62ed312a0328f12e48a285ca84d46016 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Fri, 12 Aug 2022 10:55:59 +0200 Subject: redraw signature preview on LOTS focus loss --- .../gui/composites/configuration/SimpleConfigurationComposite.java | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3