I am converting a tck/Tkinter python interface to wxPython.
I have a 3-column wxListCtrl in which I want to have the column header
text centered over the column but then have the contents of each row
left-justified. I am having difficulty figuring out if/how this is
doable in wxPython. Can someone enlighten me?
Thanks in advance,
/Will Sadkin
Parlance Corporation
There are a couple of issues with this at the moment.
1) on Windows, the first column is assumed to always be left justified;
if you want it done with any other justification, you have to add a
column, then delete it and then add the one you want with the
justification you want
2) on GTK, this currently doesn't work at all, but I have added code for
the 2.4 branch which fixes this
You didn't mention which platform you are targeting or if you the
problem is consistent on all platforms -- could you enlighten us??
···
On Thu, 2002-12-05 at 15:45, Will Sadkin wrote:
wxPyrts,
I am converting a tck/Tkinter python interface to wxPython.
I have a 3-column wxListCtrl in which I want to have the column header
text centered over the column but then have the contents of each row
left-justified. I am having difficulty figuring out if/how this is
doable in wxPython. Can someone enlighten me?
Thanks in advance,
/Will Sadkin
Parlance Corporation
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
--
Anthony Tuininga
anthony@computronix.com
Computronix
Distinctive Software. Real People.
Suite 200, 10216 - 124 Street NW
Edmonton, AB, Canada T5N 4A3
Phone: (780) 454-3700
Fax: (780) 454-3838
I am converting a tck/Tkinter python interface to wxPython. I have a 3-column wxListCtrl in which I want to have the column header
text centered over the column but then have the contents of each row left-justified. I am having difficulty figuring out if/how this is doable in wxPython. Can someone enlighten me?
I'd love to be proven wrong but I don't see a way to center just the headers...
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!