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

光华 陶 artman328 at yahoo.com.cn
Fri Sep 1 08:57:11 PDT 2006


It works!
  thanks a lot!
  but waht i want is more space between two rows, so the rows will be more readable.

光华 陶 <artman328 at yahoo.com.cn> 写道:
    thanks a lot!
  I'll try it out immediaterly :)

Robin Dunn <robin at alldunn.com> 写道:
  光华 陶 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!


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org


    
---------------------------------
  Mp3疯狂搜-新歌热歌高速下 

 		
---------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060901/3e941d09/attachment.htm


More information about the wxpython-users mailing list