I haven’t been able to figure out how to control which part of a
SplitterWindow is changed on a window resize. My application is split
into a top panel and bottom panel. The top panel is the main
application, and the bottom panel displays status messages. When user
resizes a
window, I want the extra space to go into the top panel.
Everything
I have tried so far has the bottom panel resizing. I have tried several
things with sizers to no avail. Obviously the user could change the
splitter, but I know resizing can be made to work because I see
applications do it (e.g., PyCrust) I just haven’t found the secret.
Here is the simple example. When the user resizes, the bottom panel changes size, I want the top panel to change.
import wx
class MyFrame(wx.Frame):
def init(self, *args, **kwargs):
On Fri, Nov 21, 2008 at 2:31 PM, Mike Conley <mylist@mconley.net> wrote:
I haven't been able to figure out how to control which part of a
SplitterWindow is changed on a window resize. My application is split into a
top panel and bottom panel. The top panel is the main application, and the
bottom panel displays status messages. When user resizes a
window, I want the extra space to go into the top panel.
Everything I have tried so far has the bottom panel resizing. I have tried
several things with sizers to no avail. Obviously the user could change the
splitter, but I know resizing can be made to work because I see applications
do it (e.g., PyCrust) I just haven't found the secret.
Here is the simple example. When the user resizes, the bottom panel changes
size, I want the top panel to change.