From 5671706a5f7f5bc91e127c4d78d7913a295e4603 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Thu, 24 May 2007 22:43:01 +0000 Subject: 188859 - [render] colored labels shifted to the right and margin smaller between icon and text --- .../org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java index caae424506..1fc23de90d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java @@ -2529,8 +2529,8 @@ int /*long*/ rendererRenderProc (int /*long*/ cell, int /*long*/ window, int /*l OS.gtk_widget_style_get (handle, OS.expander_size, buffer, 0); rect.x += buffer [0] + TreeItem.EXPANDER_EXTRA_PADDING; rect.width -= buffer [0] + TreeItem.EXPANDER_EXTRA_PADDING; - OS.gtk_widget_style_get (handle, OS.horizontal_separator, buffer, 0); - rect.x += buffer[0]; + //OS.gtk_widget_style_get (handle, OS.horizontal_separator, buffer, 0); + //rect.x += buffer[0]; //rect.width -= buffer [0]; // TODO Is this required for some versions? } ignoreSize = true; -- cgit