From 89d2c6d7e5d8d302280d9db936903404ed2f069c Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:18:58 +0000 Subject: Make logo preview larger git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@251 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../asit/pdfover/gui/composites/SimpleConfigurationComposite.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pdf-over-gui/src/main/java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java index f3e5485e..aaeafe9c 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java @@ -232,7 +232,6 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite { fd_controlComposite.bottom = new FormAttachment(100, -20); controlComposite.setLayoutData(fd_controlComposite); controlComposite.addPaintListener(new PaintListener() { - @Override public void paintControl(PaintEvent e) { e.gc.setForeground(Constants.DROP_BORDER_COLOR); @@ -248,7 +247,7 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite { this.btnBrowseLogo = new Button(controlComposite, SWT.NONE); - this.lblDropLogo = new Label(controlComposite, SWT.NATIVE); + this.lblDropLogo = new Label(controlComposite, SWT.NATIVE | SWT.CENTER); this.lblLogo = new Label(controlComposite, SWT.NATIVE); this.lblLogo.setAlignment(SWT.CENTER); @@ -257,7 +256,8 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite { fd_lbl_logo.right = new FormAttachment(100, -20); fd_lbl_logo.top = new FormAttachment(0, 20); fd_lbl_logo.bottom = new FormAttachment(this.lblDropLogo, -20); - + fd_lbl_logo.height = 40; + fd_lbl_logo.width = 40; this.lblLogo.setLayoutData(fd_lbl_logo); this.btnClearImage = new Button(controlComposite, SWT.NATIVE); -- cgit v1.2.3