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@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@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@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org