summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-20 09:52:26 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-20 09:52:26 +0200
commitabeed6064b82653c93ae6404514158025c9032aa (patch)
treeacacf10786eb78fce6edb7fda8aa18b01a52d6cd /pdf-over-gui/src/main/java/at/asit
parentd4a4518f6d0c4b9745410810f61288bc327b31c7 (diff)
downloadpdf-over-abeed6064b82653c93ae6404514158025c9032aa.tar.gz
pdf-over-abeed6064b82653c93ae6404514158025c9032aa.tar.bz2
pdf-over-abeed6064b82653c93ae6404514158025c9032aa.zip
properly set layout on fingerprint composite...
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/MobileBKUFingerprintComposite.java3
1 files changed, 2 insertions, 1 deletions
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);