diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-09 15:25:27 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-09 15:25:27 +0200 |
commit | 60598885569336033bef66c74973b107d5ad174e (patch) | |
tree | 1658acef03f26c9edf21a799e53e19ad973404a1 /pdf-over-gui/src/main/java/at/asit | |
parent | 43948381eee2eafae4865a087d87a898c4a9b97d (diff) | |
download | pdf-over-60598885569336033bef66c74973b107d5ad174e.tar.gz pdf-over-60598885569336033bef66c74973b107d5ad174e.tar.bz2 pdf-over-60598885569336033bef66c74973b107d5ad174e.zip |
cleanup anchoring
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java | 4 |
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(); } |