Sizer help (min sizes, proportionality, and window resizing)
Vadim Zeitlin
vadim at wxwidgets.org
Wed May 7 10:18:15 PDT 2008
On Wed, 7 May 2008 12:31:13 -0400 Harvey Chapman <hchapman-wx-users at 3gfp.com> wrote:
HC> Thanks for the hint on setting a minimum size on the entire window. I
HC> used the code below to do that.
The easiest way to do this is to use a sizer for the layout of the main
(top-level) window too and call SetSizerAndFit().
HC> on all three labels right at startup, but after the frame had been
HC> shown. It had not effect. I don't know how to do the same to the
HC> spaces.
By using wxSizer::SetItemMinSize(index-of-the-spacer).
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list