Recently I have been writing my own Python editor for fun. I have came pretty far but now I have some issues. My editor object is in my notebook but wont go to the bottom of my window. I can get it to expand across the screen but not down.

Any help is greatly welcomed.

source and screen shot are in zip archive.

Let me explain my issue a bit differently. I want to expand a wxStyledTextCtrl that is in a notebook pane to the bottom of my application. Right now it resizes horizontal but not vertical. How can I make it resize both ways?

Well sorry for opening this thread. I figured it out.

[ from Stackoverflow]
If you have a VERTICAL BoxSizer, wx.EXPAND will make the control fill horizontally, while a proportion of 1 or more (second argument to Add) will make the control fill vertically. It's the opposite for HORIZONTAL BoxSizers.

sizer = wx.BoxSizer(wx.VERTICAL)
sizer.Add(widget1, 0, wx.EXPAND)
sizer.Add(widget2, 1)

This question has already been answered. Start a new discussion instead.