From abeed6064b82653c93ae6404514158025c9032aa Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Tue, 20 Sep 2022 09:52:26 +0200 Subject: properly set layout on fingerprint composite... --- .../at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java index 8b764b29..44ff4077 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java @@ -244,7 +244,6 @@ public class MobileBKUFingerprintComposite extends StateComposite { setLayout(new FormLayout()); final Composite containerComposite = new Composite(this, SWT.NATIVE); - SWTUtils.anchor(containerComposite).top(50, -140).bottom(50, 140).left(50, -200).right(50, 200); containerComposite.addPaintListener(new PaintListener() { @Override public void paintControl(PaintEvent e) { @@ -258,6 +257,8 @@ public class MobileBKUFingerprintComposite extends StateComposite { clientArea.width - 2, clientArea.height - 2, 10, 10); } }); + containerComposite.setLayout(new FormLayout()); + SWTUtils.anchor(containerComposite).top(50, -140).bottom(50, 140).left(50, -200).right(50, 200); this.lblRefValLabel = new Label(containerComposite, SWT.NATIVE); SWTUtils.anchor(lblRefValLabel).right(50, -10).top(30, -10); -- cgit v1.2.3