Search found 4 matches

by masics
Wed Apr 22, 2009 11:55 am
Forum: General Development
Topic: aui: Force sizer to expand
Replies: 0
Views: 577

aui: Force sizer to expand

I have three panes in my layout. Is there any way I can make a sizer inside of my panes expand to use the whole pane area?
Thanks.
by masics
Mon Apr 20, 2009 8:45 am
Forum: Component Writing
Topic: wx.aui: resize pane
Replies: 4
Views: 13918

This is Python, not C++. You have the option to pass a wx.Size or a pair of x, y, i.e.: MinSize(wx.Size(200, 100)) MinSize(200, 100) Python doesn't have the C++ ability (useful, but confusing) to define the same method with 10 different signatures like wxWidgets does. In original wx I can define au...
by masics
Mon Apr 20, 2009 8:24 am
Forum: Component Writing
Topic: wx.aui: resize pane
Replies: 4
Views: 13918

Your version behaves quite different from the original.
Why don't you accept size as tuple?
With your version it looks like "grow" is not working.
by masics
Mon Apr 20, 2009 7:55 am
Forum: Component Writing
Topic: wx.aui: resize pane
Replies: 4
Views: 13918

wx.aui: resize pane

I have a pane with dynamic content. Each time I change the content I want the pane resized to fit all elements. I do following: 1. Get size of the pane;'s main sizer 2. pane.MinSize(x,y) 3. pane.MaxSize(x,y) The MinSize is working. But MaxSize - does not. The pane size remains bigger than the sizer ...