How is LIST_AUTOSIZE supposed to work? I've got a two-column
LC_REPORT control where I want the first column to be some
size and the second column to fill the remaining width of the
control, with the data being added at some point after the
list has been initially drawn. Using the AutoWidthMixin and
self.SetColumnWidth(1, wxLIST_AUTOSIZE) does exactly the right
thing in 2.4 (MSW and GTK1.2). With 2.5 (GTK1.2 and GTK2) the
second column has an initial width of about 20, then snaps to
fill the remaining width if you manually expand it, if it has
any content (if it doesn't, it just adjusts to whatever width
you set). What's going on here?
···
______________________________________________
APR Smartlogik Ltd.
Simon Arrowsmith
Senior Software Engineer
Rustat House, Clifton Road, Cambridge CB1 7EJ
tel: +44 (0)1223 271 045
fax: +44 (0)1223 271 010
map: http://www.aprsmartlogik.com/contact/cambridgemap.php
mailto: simon.arrowsmith@aprsmartlogik.com
web: www.aprsmartlogik.com
*******************************************************
This e-mail may contain proprietary and confidential information and is
intended for the recipient(s) only. If an addressing or transmission error
has misdirected this e-mail, please notify the systems administrator by
forwarding this e-mail to mailto:postmaster@aprsmartlogik.com. If you
are not the intended recipient(s) - disclosure, distribution, copying or
printing of this e-mail is strictly prohibited.
********************************************************