ItemsPicker/ListBox resizing problems

Robin Dunn wrote, 22. januar 2015 03:27:

If it is set then the min size will override the best size, so setting
the min size to some small value will give you the effect you want,
for example:

[...]

for child in pa.Children:
     if isinstance(child, wx.ListBox):
         child.SetMinSize((10,-1))

I could have sworn I'd tried that, but clearly I can't have, because this works. Thanks, Robin.

- Anders

···

********************************************************************************
Denne mail er blevet scannet af http://www.comendo.com og indeholder ikke virus!
********************************************************************************