From 11012f47125ffc959a0d7fc651632871b989d757 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 8 Oct 2006 16:31:32 +0000 Subject: [PATCH] New magic number for positioning the tree triangle. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/renderer.cpp b/src/gtk/renderer.cpp index 2c8c94ee1e..71205427d4 100644 --- a/src/gtk/renderer.cpp +++ b/src/gtk/renderer.cpp @@ -240,7 +240,7 @@ wxRendererGTK::DrawTreeItemButton(wxWindow* win, NULL, tree, "treeview", - dc.LogicalToDeviceX(rect.x) + 2 - x_diff, + dc.LogicalToDeviceX(rect.x) + 6 - x_diff, dc.LogicalToDeviceY(rect.y) + 3, flags & wxCONTROL_EXPANDED ? GTK_EXPANDER_EXPANDED : GTK_EXPANDER_COLLAPSED