In the attached sample file, I want to keep the static text label adjacent
to its text entry field, but I'd like the pairs to expand when the window is
enlarged. The spacer must have a runtime error that keeps it from working.
In the attached sample file, I want to keep the static text label
adjacent to its text entry field, but I'd like the pairs to expand when the
window is enlarged. The spacer must have a runtime error that keeps it from
working.
You only allow the space between the text and label to expand. Did you want
the wx.TextCtrls to expand, too?
What have I missed here?
You didn't tell the outerBox that hbox is expandable. Change:
outerBox.Add(hbox1, 1, wx.ALL, 5)
to
outerBox.Add(hbox1, 1, wx.EXPAND|wx.ALL, 5)
john
···
On Wednesday 30 November 2005 10:52 am, Rich Shepard wrote: