Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-05-08 04:33:47 -0400
committerUwe Stieber2013-05-08 04:33:47 -0400
commit4f66bdffe271d4f9c6150db30c828703f7f34f43 (patch)
tree4b8d5510e2b798f20029cf0fc49e289bf46a46f7 /target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf
parentf6acc4fd025879e7e2d677349f5a41f4fa1581bd (diff)
downloadorg.eclipse.tcf-4f66bdffe271d4f9c6150db30c828703f7f34f43.tar.gz
org.eclipse.tcf-4f66bdffe271d4f9c6150db30c828703f7f34f43.tar.xz
org.eclipse.tcf-4f66bdffe271d4f9c6150db30c828703f7f34f43.zip
Target Explorer: Fix some comboboxes are to small on Linux
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/controls/SimulatorTypeSelectionControl.java2
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/controls/TransportSectionTypeControl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/controls/SimulatorTypeSelectionControl.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/controls/SimulatorTypeSelectionControl.java
index a70be21e5..2c8e4af41 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/controls/SimulatorTypeSelectionControl.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/controls/SimulatorTypeSelectionControl.java
@@ -119,7 +119,7 @@ public class SimulatorTypeSelectionControl extends BaseEditBrowseTextControl {
if (maxWidth != -1) {
layoutData.horizontalAlignment = GridData.HORIZONTAL_ALIGN_BEGINNING;
layoutData.grabExcessHorizontalSpace = false;
- layoutData.widthHint = SWTControlUtil.convertWidthInCharsToPixels(getEditFieldControl(), maxWidth + 4);
+ layoutData.widthHint = SWTControlUtil.convertWidthInCharsToPixels(getEditFieldControl(), maxWidth + 10);
}
}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/controls/TransportSectionTypeControl.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/controls/TransportSectionTypeControl.java
index 1be26e87f..8555c7d13 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/controls/TransportSectionTypeControl.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/controls/TransportSectionTypeControl.java
@@ -85,7 +85,7 @@ public class TransportSectionTypeControl extends TransportTypeControl {
if (maxWidth != -1) {
layoutData.horizontalAlignment = GridData.HORIZONTAL_ALIGN_BEGINNING;
layoutData.grabExcessHorizontalSpace = false;
- layoutData.widthHint = SWTControlUtil.convertWidthInCharsToPixels(getEditFieldControl(), maxWidth + 4);
+ layoutData.widthHint = SWTControlUtil.convertWidthInCharsToPixels(getEditFieldControl(), maxWidth + 10);
}
}
}

Back to the top