summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java4
1 files changed, 3 insertions, 1 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 01a63fbf..4c636489 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
@@ -561,9 +561,11 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
this.grpSignatureLang.setVisible(newProfile.hasText());
this.grpSignatureNote.setVisible(newProfile.hasText());
- this.sclLogoOnlyTargetSize.setVisible(newProfile.equals(Profile.BASE_LOGO));
+ this.grpLogoOnlyTargetSize.setVisible(newProfile.equals(Profile.BASE_LOGO));
+ SWTUtils.reanchor(grpPreview).top(newProfile.hasText() ? grpSignatureNote : grpLogoOnlyTargetSize, 5);
this.grpPreview.setVisible(newProfile.isVisibleSignature());
+ this.grpPreview.requestLayout();
signatureBlockPreviewChanged();
}