summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:18:58 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:18:58 +0000
commit89d2c6d7e5d8d302280d9db936903404ed2f069c (patch)
treee6b2b0d247e99a39d263d366483f9c0e1ec2a3df /pdf-over-gui/src/main
parent6a9b3341a98d0ef3b926680f72405dfcb5e2e4f1 (diff)
downloadpdf-over-89d2c6d7e5d8d302280d9db936903404ed2f069c.tar.gz
pdf-over-89d2c6d7e5d8d302280d9db936903404ed2f069c.tar.bz2
pdf-over-89d2c6d7e5d8d302280d9db936903404ed2f069c.zip
Make logo preview larger
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@251 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java6
1 files changed, 3 insertions, 3 deletions
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);