Steve Cookson
2014-06-16 06:48:39 UTC
Hi Guys,
The situation with StaticBox and StaticBoxSizer under 3.0.0 and 3.0.1
appears to be as follows:
1) Under the Ubuntu famliy 14.04 lts, as of next month the ONLY fully
supported version, the "Box" paradigms seems to have changed to create a
panel with an edge and a panel title at the top of the panel, rather
than the traditional group box. This appears to cause the size
calculation to be thrown out and has to be replaced by a manual wxSize
workaround in the creator.
2) in 3.0, StaticBox has children rather than siblings. This does as
Vadim suggested earlier, affect the layout and is necessary to get
consistent behaviour in 3.0.0. The patch provided for 3.0.1, if it
helps at all, does not help under the new 14.04 StaticBox paradigm.
3) I was unable to get StaticBoxSizer to work at all and I just replaced
it with a FlexGridSizer which was fine.
4) None of the fixes/workarounds above is backwards compatible.
I use StaticBoxes extensively to make my applications more intuitive to
users and so the situation here is highly problematic. As 2.8 is no
longer supported, I have decided to grab the bull by the horns and make
a concerted effort to move to 3.0.0 using the above workarounds.
Have others experienced this?
Vadim, should I reopen the earlier bug or open a new one? I feel it is
the latter. What do you say?
Regards,
Steve
The situation with StaticBox and StaticBoxSizer under 3.0.0 and 3.0.1
appears to be as follows:
1) Under the Ubuntu famliy 14.04 lts, as of next month the ONLY fully
supported version, the "Box" paradigms seems to have changed to create a
panel with an edge and a panel title at the top of the panel, rather
than the traditional group box. This appears to cause the size
calculation to be thrown out and has to be replaced by a manual wxSize
workaround in the creator.
2) in 3.0, StaticBox has children rather than siblings. This does as
Vadim suggested earlier, affect the layout and is necessary to get
consistent behaviour in 3.0.0. The patch provided for 3.0.1, if it
helps at all, does not help under the new 14.04 StaticBox paradigm.
3) I was unable to get StaticBoxSizer to work at all and I just replaced
it with a FlexGridSizer which was fine.
4) None of the fixes/workarounds above is backwards compatible.
I use StaticBoxes extensively to make my applications more intuitive to
users and so the situation here is highly problematic. As 2.8 is no
longer supported, I have decided to grab the bull by the horns and make
a concerted effort to move to 3.0.0 using the above workarounds.
Have others experienced this?
Vadim, should I reopen the earlier bug or open a new one? I feel it is
the latter. What do you say?
Regards,
Steve
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users