diff options
author | njames <nkskjames@gmail.com> | 2016-08-26 20:34:45 -0500 |
---|---|---|
committer | njames <nkskjames@gmail.com> | 2016-08-26 20:34:45 -0500 |
commit | 307de96b447f2a0514b2b296681d8b2d36a46b02 (patch) | |
tree | afcc1eeecdfebfd1997ccf51480d92cbd2e33834 /src | |
parent | aa28a01aa4ad04fd1126d0364c81b2a147e28825 (diff) | |
download | serverwiz-307de96b447f2a0514b2b296681d8b2d36a46b02.tar.gz serverwiz-307de96b447f2a0514b2b296681d8b2d36a46b02.zip |
increase height of show hidden checkbox
Signed-off-by: Norman James <nkskjames@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/com/ibm/ServerWizard2/view/MainDialog.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/com/ibm/ServerWizard2/view/MainDialog.java b/src/com/ibm/ServerWizard2/view/MainDialog.java index 1c8320f..bb472a6 100644 --- a/src/com/ibm/ServerWizard2/view/MainDialog.java +++ b/src/com/ibm/ServerWizard2/view/MainDialog.java @@ -189,7 +189,6 @@ public class MainDialog extends Dialog { + "Select and Instance type. You can optionally enter a custom name. Then click 'Add Instance' button."); columnName.setResizable(true); - // sashForm.setWeights(new int[] { 283, 283 }); // Create attribute table viewer = new TableViewer(sashForm_1, SWT.VIRTUAL | SWT.H_SCROLL | SWT.V_SCROLL @@ -246,7 +245,7 @@ public class MainDialog extends Dialog { btnShowHidden = new Button(compositeInstance, SWT.CHECK); GridData gd_btnShowHidden = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1); - gd_btnShowHidden.heightHint = 10; + gd_btnShowHidden.heightHint = 20; btnShowHidden.setLayoutData(gd_btnShowHidden); btnShowHidden.setText(" Show Hidden"); @@ -938,15 +937,11 @@ public class MainDialog extends Dialog { TreeItem treeitem = item; if (item == null) { if (parentItem == null) { - //clearTreeAll(); treeitem = new TreeItem(tree, SWT.VIRTUAL | SWT.BORDER); } else { treeitem = new TreeItem(parentItem, SWT.VIRTUAL | SWT.BORDER); } } - //Just display last part of instance name path - //String nameA[] = name.split("\\."); - //treeitem.setText(nameA[nameA.length-1]); treeitem.setText(name); treeitem.setData(target); |