question about AutoWidthListCtrl
Alec Bennett
whatyoulookin at yahoo.com
Wed Mar 5 04:40:04 PST 2008
I'm using the excellent AutoWidthListCtrl widget to auto size my right-most column in my ListCtrl.
I'd like this column to *always* be 50 pixels, which it is when the AutoWidthListCtrl is first
drawn. However if I widen the window, it stretches to the right, meaning it gets wider.
Is there some way to make it so this column always stays 50 pixels wide, even if the window is
resized?
I've been trying to resize the column on wx.EVT_SIZE, but so far haven't been able to successfully
query the width of the existing columns to set the new widths.
My AutoWidthListCtrl is taken loosely from this code:
http://www.zetcode.com/wxpython/advanced/
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the wxpython-users
mailing list