[wxPython-users] 回复: Re: [wxPython-users] How to define or control the height of the ListCtrl rows =3F?=

Robin Dunn robin at alldunn.com
Fri Sep 1 08:35:11 PDT 2006


光华 陶 wrote:
> Thanks for you advice.
> but it doesn't work...
> I'm in msw plateform, is it a plateform specific problem?

It works here.  Go to the ListCtrl sample in the demo and hit F5 and
then type "frame.demoPage.list.SetFont(wx.Font(18, wx.SWISS, wx.NORMAL,
wx.NORMAL))" and you should see the font change and the height of each
row also changes to compensate.  What doesn't change that should is the
size of the header, but I believe that is a problem with the XP theme.


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





More information about the wxpython-users mailing list