Minimum size for a TreeCtrl?
Ed Leafe
ed at leafe.com
Sat Jul 1 05:50:18 PDT 2006
Is there any way to programmatically determine the minimum size
required to display all of its elements without clipping them? For
example, if the nodes have very long text captions, the tree would
need to be wider than if they had, say, single-letter captions.
I've looked into the typical GetBestSize(), GetBestFittingSize(),
GetAdjustedBestSize(), etc., but the value returned from each doesn't
bear any relation to the content of the tree.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
More information about the wxpython-users
mailing list