回复: 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:46:33 PDT 2006
That's true!
What I do wrong is I used the listctrl func: setitemfont
thanks again :)
but is there any way to get the height i want without set the font size? I want to make the report more readable and make people read it more comf.
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疯狂搜-新歌热歌高速下
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060901/f06fd0f9/attachment.htm
More information about the wxpython-users
mailing list