]> git.saurik.com Git - wxWidgets.git/commitdiff
New magic number for positioning the tree triangle.
authorRobert Roebling <robert@roebling.de>
Sun, 8 Oct 2006 16:31:32 +0000 (16:31 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 8 Oct 2006 16:31:32 +0000 (16:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/renderer.cpp

index 2c8c94ee1e4a269ad02aa70eb7ead03b8ff97330..71205427d4a31d2a1c428138899cd77ed319b266 100644 (file)
@@ -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