Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Krauth2017-09-05 07:44:09 -0400
committerMarvin Mueller2017-09-05 09:32:46 -0400
commit04fa4ba30fc72ba5ad26fd90ec188ee318b487f2 (patch)
tree6f0557ea8e3aef034ea9fe31b6ad8692da8c575f
parent4819d645e1b2349e28e512cab11a946852b5fd54 (diff)
downloadorg.eclipse.jubula.core-04fa4ba30fc72ba5ad26fd90ec188ee318b487f2.tar.gz
org.eclipse.jubula.core-04fa4ba30fc72ba5ad26fd90ec188ee318b487f2.tar.xz
org.eclipse.jubula.core-04fa4ba30fc72ba5ad26fd90ec188ee318b487f2.zip
Fix for Bug 402711
Change-Id: I29ff38c6c3c929155864e870f6a05356fad0700d Signed-off-by: Marcel Krauth <Marcel.Krauth@bredex.de>
-rw-r--r--org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils/SwtUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils/SwtUtils.java b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils/SwtUtils.java
index 6f211c62c..b56273841 100644
--- a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils/SwtUtils.java
+++ b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/utils/SwtUtils.java
@@ -1060,7 +1060,7 @@ public class SwtUtils {
// Works around an issue where
// the width of the item is computed as "1" by SWT when the
// columns are actually the only elements that have width.
- if (item.getParent().getColumnCount() > 0) {
+ if (item.getParent().getColumnCount() > 0 && bounds.width <= 1) {
bounds.width = item.getParent().getBounds().width;
}

Back to the top