Home » U++ Library support » U++ Widgets - General questions or Mixed problems » About LabelBox and child widgets
Re: About LabelBox and child widgets [message #48013 is a reply to message #48008] |
Sat, 06 May 2017 18:11 |
|
Klugier
Messages: 1076 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
LabelBox not acts as a container - currently we have not implemented containers. But, It definitely should happens in the future - this is require to move forward on mobile market. However you can emulated it using for example Splitter or ParentCtrl. Moreover, as I remember there was bazaar project that creates simply containers like Grid.
Backing to LabelBox it is a static control and you can simply put content inside it. You need to resize it first. Then put controls like EditField, Lable etc. inside it. There is no magic here. LabelBox can be resize able, so it can easily cover all the window content when the size of window will change.
The classical usage of LabelBox can be spotted in examples/GeoFun/GeFun.lay - About layout. Alternatively, you could look inside TheIde code (uppsrc/ide package). You can find a lot of LabelBox usage in ide.lay file.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sat, 06 May 2017 18:21] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue May 07 19:33:49 CEST 2024
Total time taken to generate the page: 0.02738 seconds
|