Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-05-14 04:56:49 -0400
committerTobias Schwarz2013-05-14 04:56:49 -0400
commitc8c49273998743ced73149fbc56648431dfd6cbb (patch)
treea23c260c6f1feea0bb8f30126de9f43fafd7b893
parent6a6858d07bbb2eed39cc99cf478e44a2755af4aa (diff)
downloadorg.eclipse.tcf-c8c49273998743ced73149fbc56648431dfd6cbb.tar.gz
org.eclipse.tcf-c8c49273998743ced73149fbc56648431dfd6cbb.tar.xz
org.eclipse.tcf-c8c49273998743ced73149fbc56648431dfd6cbb.zip
Target Explorer: fix different button width in same layout column
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/BaseEditBrowseTextControl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/BaseEditBrowseTextControl.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/BaseEditBrowseTextControl.java
index 5cd20e55e..67622de0b 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/BaseEditBrowseTextControl.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/BaseEditBrowseTextControl.java
@@ -1192,7 +1192,7 @@ public class BaseEditBrowseTextControl extends AbstractDecoratedDialogPageContro
// If not yet set, assure that the buttons fill in the available space
if (button.getLayoutData() == null) {
- GridData layoutData = new GridData(SWT.BEGINNING, SWT.CENTER, false, false);
+ GridData layoutData = new GridData(SWT.FILL, SWT.CENTER, false, false);
layoutData.widthHint = SWTControlUtil.convertWidthInCharsToPixels(button, SWTControlUtil.getText(button).length() + 4);
button.setLayoutData(layoutData);
}

Back to the top