It looks like 2.4.2.4u wxTreeCtrl.SetItemFont() doesn't work.
If setting it to a font with larger size, the text label gets clipped in its
width and height. If changing height of the image list, the height dimension
to text label can be fine, but its width dimension sitll gets clipped.
It looks like 2.4.2.4u wxTreeCtrl.SetItemFont() doesn't work.
If setting it to a font with larger size, the text label gets clipped in its
width and height. If changing height of the image list, the height dimension
to text label can be fine, but its width dimension sitll gets clipped.
Yep. wxTreeCtrl assumes that the font for all items have the same
height. IIRC it uses the height of the default font for the control, so
maybe if you use tree.SetFont with your largest font before adding items
then it will work a bit better for you.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!