[wxPython-users] Appearance of ListCtrl using Vista
Robin Dunn
robin at alldunn.com
Tue Jan 30 12:16:14 PST 2007
David Hughes wrote:
> I have just tried running my main application with py2exe using Vista
> and was pleased to discover it appears to be running smoothly, although
> I haven't done any rigorous testing yet. One thing I did notice is that
> ListCtrl's in report mode take up far more vertical space and now, like
> OS X, the items appear to be almost double-spaced. I assume that, on
> both OS's, it is down to the native implementation and, correct me if I
> am wrong, there is no way to specify spacing in the wx.ListCtrl methods.
>
> For the cases where space is limited, I'm thinking of implementing the
> functionality of a ListCtrl, including a virtual control, using a
> read-only wx.Grid, which would permit more control over its appearance.
> Does this sound a sensible way to go? I suppose the alternative would be
> a generic, owner-drawn ListCtrl, but I don't know quite what that would
> involve - is it even feasible ( -- Andrea?)?
In the meantime you may want to also try the TreeListCtrl without a tree.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list