diff options
author | njames <nkskjames@gmail.com> | 2016-09-07 09:52:54 -0500 |
---|---|---|
committer | njames <nkskjames@gmail.com> | 2016-09-07 09:52:54 -0500 |
commit | 2beded15a79659c59ebdc245ce9f5cc14cee0b5f (patch) | |
tree | 22a4e3e202df80ddbd01c88bd0059c18b5f04686 /src/com/ibm/ServerWizard2/view/MainDialog.java | |
parent | 00bbb0a9fbdc682dc63a1ea7a24277b69e28f63b (diff) | |
download | serverwiz-2beded15a79659c59ebdc245ce9f5cc14cee0b5f.tar.gz serverwiz-2beded15a79659c59ebdc245ce9f5cc14cee0b5f.zip |
Change font for dialog boxes
Buttons were not rendering correctly under Linux
Signed-off-by: Norman James <nkskjames@gmail.com>
Diffstat (limited to 'src/com/ibm/ServerWizard2/view/MainDialog.java')
-rw-r--r-- | src/com/ibm/ServerWizard2/view/MainDialog.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/com/ibm/ServerWizard2/view/MainDialog.java b/src/com/ibm/ServerWizard2/view/MainDialog.java index a5945ff..fb69ba1 100644 --- a/src/com/ibm/ServerWizard2/view/MainDialog.java +++ b/src/com/ibm/ServerWizard2/view/MainDialog.java @@ -176,6 +176,22 @@ public class MainDialog extends Dialog { buttonRow1.setLayout(rl_buttonRow1); this.createButtonsForButtonBar2(buttonRow1); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); + new Label(buttonRow1, SWT.NONE); sashForm = new SashForm(sashForm_1, SWT.NONE); @@ -245,6 +261,7 @@ public class MainDialog extends Dialog { btnDeleteTarget.setText("Delete Instance"); btnShowHidden = new Button(compositeInstance, SWT.CHECK); + btnShowHidden.setFont(SWTResourceManager.getFont("Arial", 9, SWT.NORMAL)); GridData gd_btnShowHidden = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1); gd_btnShowHidden.heightHint = 20; btnShowHidden.setLayoutData(gd_btnShowHidden); |