Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Bell John <jbelllinux@ya...> - 2002-04-09 11:30:45
I'm trying to move from using layout constraints to
the wonderful world of wxSizers. However, I have come
across what is undoubtedly a pretty basic problem that
I can't see my way through.
The problem boils down to the behaviour of spacers in
If I create a wxStaticText control (lbl1) and a
wxTextCtrl (fld1) I can lay them out vertically with
spacers above and below with:
Changing wxVERTICAL to wxHORIZONTAL works fine too.
However, if boxes are nested as in:
the vertical layout is as expected, but the spacers in
the nested box (box2) don't expand. Ie. everything's
on the left. I assumed that a Layout() on box and/or
box2 was required but can find no combination that
Thanks in Advance,
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax