summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2004-04-22 19:21:21 +0000
committerFelipe Heidrich <fheidric>2004-04-22 19:21:21 +0000
commitd92f82dbd8789169e4c76814246df8848f57acf1 (patch)
tree402a0464e7792257932f8bfa9b02b7dc3c874e74
parent2a5dda56a995180bd56bb35de3fecdef7f29fa74 (diff)
downloadeclipse.platform.swt-d92f82dbd8789169e4c76814246df8848f57acf1.tar.gz
eclipse.platform.swt-d92f82dbd8789169e4c76814246df8848f57acf1.tar.xz
eclipse.platform.swt-d92f82dbd8789169e4c76814246df8848f57acf1.zip
58732
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java
index 95d24f507b..b5c55dfa90 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java
@@ -661,7 +661,7 @@ void onPaint(Event event) {
/* Draw gripper. */
if (!isLocked) {
- nativeGripper = drawGripper(bounds.x, bounds.y, CoolItem.MINIMUM_WIDTH, bounds.height);
+ if (!flat) nativeGripper = drawGripper(bounds.x, bounds.y, CoolItem.MINIMUM_WIDTH, bounds.height);
if (!nativeGripper) {
int grabberTrim = 2;
int grabberHeight = bounds.height - (2 * CoolItem.MARGIN_HEIGHT) - (2 * grabberTrim) - 1;