summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.console
diff options
context:
space:
mode:
Diffstat (limited to 'src/com.gluster.storage.management.console')
-rw-r--r--src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/BricksSelectionPage.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/BricksSelectionPage.java b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/BricksSelectionPage.java
index 5ec12a74..06da5f55 100644
--- a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/BricksSelectionPage.java
+++ b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/dialogs/BricksSelectionPage.java
@@ -130,7 +130,7 @@ public class BricksSelectionPage extends Composite {
buttonContainerData.minimumWidth = 40;
buttonContainer.setLayoutData(buttonContainerData);
- btnUp = new Button(buttonContainer, SWT.TOGGLE);
+ btnUp = new Button(buttonContainer, SWT.PUSH);
GridData btnUpData = new GridData(SWT.LEFT, SWT.BOTTOM, true, false);
btnUpData.minimumWidth = 30;
btnUp.setLayoutData(btnUpData);
@@ -155,8 +155,10 @@ public class BricksSelectionPage extends Composite {
}
});
- btnDown = new Button(buttonContainer, SWT.TOGGLE);
- btnDown.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, false));
+ btnDown = new Button(buttonContainer, SWT.PUSH);
+ GridData btnDownData = new GridData(SWT.LEFT, SWT.TOP, true, false);
+ btnDownData.minimumWidth = 30;
+ btnDown.setLayoutData(btnDownData);
btnDown.setImage(guiHelper.getImage(IImageKeys.ARROW_DOWN_16x16));
btnDown.addSelectionListener(new SelectionAdapter() {