[wxPython] wxTreeCtrl

GetBestSize returns 20,20 also. I used wxDesigner and it sets a size for the wxTreeCtrl which seems to be just a random choice. Maybe its a 2.2.1 thing.

···

From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.wxwindows.org>
SUBJECTReply-To: wxpython-users@lists.wxwindows.org
Date: Thu, 3 May 2001 21:52:22 -0700

It appears that on Unix GetBoundingRect doesn't return the bounding box of

a wxTreeCtrl item. If so, how does one determine how wide to make a dialog
or splitter. I also tried sizers but it only gets the 20,20 size. This
small also seems to confuse the horizontal splitter window.

Does tree.GetBestSize() return a good value?

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/