From 8faec0fe57768d23032e23f7da05864ded4f9856 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Mon, 8 Aug 2022 13:48:03 +0200 Subject: clear image invisible -> disabled --- .../gui/composites/configuration/SimpleConfigurationComposite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java index 6a074187..f2c822b6 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java @@ -255,7 +255,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { this.btnClearImage = new Button(containerComposite, SWT.NATIVE); SWTUtils.anchor(btnClearImage).top(0,5).left(50, 5).set(); SWTUtils.setFontHeight(btnClearImage, Constants.TEXT_SIZE_BUTTON); - this.btnClearImage.setVisible(false); + this.btnClearImage.setEnabled(false); this.cSigPreview = new Canvas(containerComposite, SWT.RESIZE); SWTUtils.anchor(cSigPreview).left(0, 5).right(100,-5).top(btnBrowseLogo,5).bottom(100,-5).set(); -- cgit v1.2.3