diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-08 22:07:24 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-08 22:07:24 +0100 |
commit | 2be4113a70dd32cc354f2033016d52fe74f79a2c (patch) | |
tree | e7b43fc950d17b36c044721fd3f5fba0490923e2 /trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites | |
parent | 222ae2462f5d268c70b92a563a52296711d2d57a (diff) | |
download | pdf-over-2be4113a70dd32cc354f2033016d52fe74f79a2c.tar.gz pdf-over-2be4113a70dd32cc354f2033016d52fe74f79a2c.tar.bz2 pdf-over-2be4113a70dd32cc354f2033016d52fe74f79a2c.zip |
Make logo preview larger
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java index f3e5485e..aaeafe9c 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java +++ b/trunk/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); |