I'm attempting to create my own wx-based traits.ui editor, and I'm
running into trouble getting a wx panel that fills the remaining space
without gobbling the entire containing panel. In the attached example
as-is, I would like the green panel to expand to fill the remaining
space in the wx.Frame. Currently, however, it fills only about 1 lines
of text's worth of height. If I uncomment the "resizable=True" line, the
green panel extends down off the bottom of the Frame, meaning that
value2 is not seen.
How do I get the green panel to expand to fill the available space
without extending off the bottom? It would be ideal if it also covered
the red of its parent panel.
import enthought.traits.api as traits
from enthought.traits.ui.api import View, Item, Group
from enthought.traits.ui.wx.editor import Editor
from enthought.traits.ui.basic_editor_factory import BasicEditorFactory