One more kick at the cat on sizers if you please. I have an application that consists of one frame with two panels. The left panel contains a nested series of panels and buttons that I want to retain their aspect ratios. The right panel contains a vertical stack of control buttons. I have everything working (spacing, borders, resizing, etc) except for one little annoying detail.
When I resize the app I can’t get rid of extraneous frame. As you can see by the images, one has extra space at the bottom and the other at the right. I will never get extra space on both the right and bottom because the controls will always resize to one edge or the other. My structure was created through wxGlade and looks like
Application Frame BoxSizer (wx.VERTICAL) OuterPanel (wx.EXPAND proportion=1) BoxSizer (wx.HORIZONTAL) Panel (wx.EXPAND wx.SHAPED proportion=0) (stuff inside) Panel (wx.ALIGN_RIGHT proportion=0) (stuff inside)