回复: [wxPython-users] 回复: Re: [wxPython-users] 回复: [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
Thu Sep 7 19:53:11 PDT 2006


I've got it done!
  First I draw a blank icon size of width 1 and height 18(or any height you want), than initiate a instance wx.ImageList with size(1, 18), add the icon to the image list,  and SetImageList to the listctrl,  InsertImageStringItem to the control... so I got the row height 18.
  a strange way to do that, isn't it? :)

光华 陶 <artman328 at yahoo.com.cn> 写道:
    why so? :(
  I hope there will be a function to do that, like myListCtrl.SetItemHeight(index)...
  Thanks! I'll stop trying to do that :)

Robin Dunn <robin at alldunn.com> 写道:
  光华 陶 wrote:
> It works!
> thanks a lot!
> but waht i want is more space between two rows, so the rows will be more 
> readable.
> 

There isn't a way to do that.

-- 
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


    
---------------------------------
  抢注雅虎免费邮箱-3.5G容量,20M附件! 

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


More information about the wxpython-users mailing list