diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:21:44 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:21:44 +0000 |
commit | 3c82fa3116ef6a15041af3f11f73be1855789982 (patch) | |
tree | 59ae80688bd607ae6e1b101559a70b18522b38ae /pdf-over-gui/src/main/java/at | |
parent | 313dd617c15727af52baadef5c16168835f1c833 (diff) | |
download | pdf-over-3c82fa3116ef6a15041af3f11f73be1855789982.tar.gz pdf-over-3c82fa3116ef6a15041af3f11f73be1855789982.tar.bz2 pdf-over-3c82fa3116ef6a15041af3f11f73be1855789982.zip |
Set text size for default button
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@281 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java | 5 |
1 files changed, 5 insertions, 0 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 a1063c98..36d0a74d 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 @@ -512,6 +512,11 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite { fd_btnSignatureNoteDefault.top = new FormAttachment(0, 0); fd_btnSignatureNoteDefault.right = new FormAttachment(100, -42); this.btnSignatureNoteDefault.setLayoutData(fd_btnSignatureNoteDefault); + FontData[] fD_btnSignatureNoteDefault = this.btnSignatureNoteDefault.getFont() + .getFontData(); + fD_btnSignatureNoteDefault[0].setHeight(Constants.TEXT_SIZE_BUTTON); + this.btnSignatureNoteDefault.setFont(new Font(Display.getCurrent(), + fD_btnSignatureNoteDefault[0])); this.btnSignatureNoteDefault.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { |