I have created a mult-column listbox on a background that works fine in
Linux, but when I try running the same code in Windows 98, I get bizarre
results.
Specifically, I have five columns (Line, Item, Cat, Mfg, Desc, Qty) and
whenever I load more than one line into this box, the last column grows
very large and no matter how many .SetColumnWidth(5, 50) calls I make,
it won't change and I end up having to scroll far off to the right to
see the qty for each line.
Has anybody experienced anything similar? Also, I want the QTY column
to be right justified so I'm doing it like this:
def on_initialize(self, event):
col =3D self.components.LineItemList.GetColumn(5)
col.SetAlign(wx.LIST_FORMAT_RIGHT)
self.components.LineItemList.SetColumn(5, col)
This does as it should, but again, on Windows 98, the value I had in the
column header ("QTY") goes away. On Linux it does not. Oh, when I say
Linux, I mean my laptop running Fedora Core 3.
Both platforms are running Python 2.3.4 but the FC3 box is using
wxPython 2.5.2.8 and the Win98 machine is using wxPython 2.5.3.1. Both
platforms are using PythonCard 0.81.
Any ideas? Oh, and is it possible for me to specify column widths
and/or alignments in the resource? I notice I can specify column
headings.
Any help is appreciated...
-Aaron
|