summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-16 12:43:17 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-16 12:43:17 +0100
commit36c47d13370eaee6939e4ff19899766894efcaaa (patch)
tree6da04a71bba714d9bb6a2e1dca2d20110232a0fe
parent41a1bc68b5b24f323aa89e39ec586b3c02935bee (diff)
downloadpdf-over-36c47d13370eaee6939e4ff19899766894efcaaa.tar.gz
pdf-over-36c47d13370eaee6939e4ff19899766894efcaaa.tar.bz2
pdf-over-36c47d13370eaee6939e4ff19899766894efcaaa.zip
set webauthn logo background
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUFido2Composite.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUFido2Composite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUFido2Composite.java
index 23a8c70f..547f217f 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUFido2Composite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUFido2Composite.java
@@ -95,6 +95,7 @@ public class MobileBKUFido2Composite extends StateComposite {
ImageData webauthnLogoImg = new ImageData(this.getClass().getResourceAsStream(Constants.RES_IMG_WEBAUTHN));
Label webauthnLogo = new Label(containerComposite, SWT.NATIVE);
SWTUtils.anchor(webauthnLogo).top(0,0).left(0, 10).height(50).width(187);
+ webauthnLogo.setBackground(getBackground());
webauthnLogo.setImage(new Image(getDisplay(), webauthnLogoImg.scaledTo(187, 50)));
ImageData fidoLogoImg = new ImageData(this.getClass().getResourceAsStream(Constants.RES_IMG_FIDO2));