diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-12 21:58:43 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-12 21:58:43 +0100 |
commit | addfba54fd9dfd8b254f404fb59ef8411cb34680 (patch) | |
tree | ae4a68fe22c00161f31cf6c8ae293663ddf65fbf | |
parent | 8294c3af59df43105d0a13d489ffc2b7ee6ff4e8 (diff) | |
download | pdf-over-addfba54fd9dfd8b254f404fb59ef8411cb34680.tar.gz pdf-over-addfba54fd9dfd8b254f404fb59ef8411cb34680.tar.bz2 pdf-over-addfba54fd9dfd8b254f404fb59ef8411cb34680.zip |
Set text size for default button
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java | 5 |
1 files changed, 5 insertions, 0 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 a1063c98..36d0a74d 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 @@ -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) { |