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
This commit is contained in:
parent
844b9f5fd2
commit
11012f4712
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user