Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to change treebook treectrl size? #918
Operating system: windows
Description of the problem:
hello .In wxpython 2.8, if we want modify tree size. we can use
tb = wx.Treebook(parent) tb.GetTreeCtrl().SetMinSize((250, 0))
but in Phoenix ,I not find GetTreeCtrl() ,Is there any alternative way to resize the TreeCtrl of TreeBook?
I'm not sure if there's a new kosher way, but you can search through your treebook's immediate children to find the treectrl.
Assuming no shenanigans have occurred, it should be the first child:
But I would probably do something like this, just in case.