Resize ListView to prevent scrolling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Resize ListView to prevent scrolling

Ram Rachum-2
Hi everyone,

I'm creating a ListView with an unknown number of items. Sometimes this causes a vertical scrollbar to be shown, because there are too many items for the size of the control.

How can I automatically size the ListView so it'll be big enough for a scrollbar to not be needed?


Thanks for your help,
Ram Rachum.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.