summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-09 15:21:21 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-09 15:21:21 +0200
commit43948381eee2eafae4865a087d87a898c4a9b97d (patch)
tree8f06c6aceeec537e1bf53c0f28fef87a21802465 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java
parent8736033b6460b2f88b22d85fe01276c3cee68235 (diff)
downloadpdf-over-43948381eee2eafae4865a087d87a898c4a9b97d.tar.gz
pdf-over-43948381eee2eafae4865a087d87a898c4a9b97d.tar.bz2
pdf-over-43948381eee2eafae4865a087d87a898c4a9b97d.zip
remove need to call AnchorSetter::set
(in SWTUtils)
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java18
1 files changed, 9 insertions, 9 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 7980a033..8b764b29 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,7 @@ 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).set();
+ 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) {
@@ -260,36 +260,36 @@ public class MobileBKUFingerprintComposite extends StateComposite {
});
this.lblRefValLabel = new Label(containerComposite, SWT.NATIVE);
- SWTUtils.anchor(lblRefValLabel).right(50, -10).top(30, -10).set();
+ SWTUtils.anchor(lblRefValLabel).right(50, -10).top(30, -10);
this.lblRefValLabel.setAlignment(SWT.RIGHT);
ImageData mobileIcon = new ImageData(this.getClass().getResourceAsStream(Constants.RES_IMG_MOBILE));
Label lbl_image = new Label(containerComposite, SWT.NATIVE);
- SWTUtils.anchor(lbl_image).top(50, -1 * (mobileIcon.width / 2)).bottom(50, mobileIcon.width / 2).left(0, 10).width(mobileIcon.width).set();
+ SWTUtils.anchor(lbl_image).top(50, -1 * (mobileIcon.width / 2)).bottom(50, mobileIcon.width / 2).left(0, 10).width(mobileIcon.width);
lbl_image.setImage(new Image(getDisplay(), mobileIcon));
this.lblRefVal = new Label(containerComposite, SWT.NATIVE);
- SWTUtils.anchor(lblRefVal).left(50, 10).right(100, -20).top(30, -10).set();
+ SWTUtils.anchor(lblRefVal).left(50, 10).right(100, -20).top(30, -10);
this.lblFPLabel = new Label(containerComposite, SWT.NATIVE);
- SWTUtils.anchor(lblFPLabel).left(25, 10).top(lblRefValLabel, 10).set();
+ SWTUtils.anchor(lblFPLabel).left(25, 10).top(lblRefValLabel, 10);
this.lblFPLabel.setAlignment(SWT.LEFT);
this.lnk_sig_data = new Link(containerComposite, SWT.NATIVE | SWT.RESIZE);
- SWTUtils.anchor(lnk_sig_data).right(100, -20).top(0, 20).set();
+ SWTUtils.anchor(lnk_sig_data).right(100, -20).top(0, 20);
this.lnk_sig_data.setEnabled(true);
this.lnk_sig_data.addSelectionListener(new ShowSignatureDataListener());
this.btn_cancel = new Button(containerComposite, SWT.NATIVE);
- SWTUtils.anchor(btn_cancel).right(100, -20).bottom(100, -20).set();
+ SWTUtils.anchor(btn_cancel).right(100, -20).bottom(100, -20);
this.btn_cancel.addSelectionListener(new CancelSelectionListener());
this.btn_sms = new Button(containerComposite, SWT.NATIVE);
- SWTUtils.anchor(btn_sms).right(btn_cancel, -20).bottom(100, -20).set();
+ SWTUtils.anchor(btn_sms).right(btn_cancel, -20).bottom(100, -20);
this.btn_sms.addSelectionListener(new SMSSelectionListener());
this.lblError = new Label(containerComposite, SWT.WRAP | SWT.NATIVE);
- SWTUtils.anchor(lblError).right(btn_sms, -10).bottom(100, -20).set();
+ SWTUtils.anchor(lblError).right(btn_sms, -10).bottom(100, -20);
reloadResources();
}