From 36c47d13370eaee6939e4ff19899766894efcaaa Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Wed, 16 Nov 2022 12:43:17 +0100 Subject: set webauthn logo background --- .../asit/pdfover/gui/composites/mobilebku/MobileBKUFido2Composite.java | 1 + 1 file changed, 1 insertion(+) 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)); -- cgit v1.2.3