There is an important conceptual point that you don't appear to be grokking yet. A sizer is not a GUI element. It does not appear on screen or receive events, and is not the parent of a widget. A sizer is just a pluggable layout algorithm that the parent can use to size and position its children. Using sizers is not a requirement. If you wanted you could use brute-force layout by setting all the sizes and positions yourself, but that is much more difficult to maintain, is fragile when changes need to be made, and is almost guaranteed to look like crap if you run the app on a different platform.
···
On 1/13/10 6:18 AM, Daniel Carrera wrote:
What is the purpose of the two extra v-sizers and the panel? What do
they
accomplish that a simple h-sizer doesn't?I only added one to the panel. I added it because you said you wanted
the controls to be centered vertically as the window was enlarged.The other one was the sizer for the Frame that contains the Panel.
Ok. So you can't put a panel directly below a frame?
--
Robin Dunn
Software Craftsman