Is there any way to set the maximum size of a ListBox (by pixels)? I know that there is a SetMaxSize but it is not enforced.
winmic 16 Light Poster
Recommended Answers
Jump to PostAccording to:
http://www.wxpython.org/docs/api/wx.ListBox-class.html
the listbox does not have a mehod SetMaxSize(). You might as well set the size of the listbox itself as you create the instance.
Jump to PostI know this is an old thread but I must make this clear. ListBox itself doesn't have a method named SetMaxSize, but it is a descendant of Window so the method is inherited.
I'm still looking for the answer that you asked, so if you have found it already …
All 7 Replies
Ene Uran 638 Posting Virtuoso
winmic 16 Light Poster
Ene Uran 638 Posting Virtuoso
winmic 16 Light Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
winmic 16 Light Poster
phunehehe 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.