U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Layout management
Re: Layout management [message #59631 is a reply to message #59610] Sun, 19 February 2023 11:21 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
zura wrote on Tue, 14 February 2023 20:08
Hello,

How do you manage layout in U++? Is there something like Qt's layout or wxWidgets sizer?

For instance, in wxWidgets, you can have e.g. a vertical sizer and widgets are laid out vertically. You can as well add widgets at runtime, dynamically. There are more complex sizers, such as wxGridSizer, for grid layout.

How can you achieve the same with U++?

Thanks!


No sizers, layout designer.

https://www.ultimatepp.org/app$ide$LayoutDes_en-us.html

It can design resizable layouts too, so let us say it is just completely ortogonal approach to logical layouts. More RAD IMO, but you are free to disagree.

When we need to add widgets at runtime, various approaches are possible, but in 90% cases it leads to ArrayCtrl with a list of widgets (that would probably be very rough equivalent of wx grid).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiwindows
Next Topic: LabelBox align problem
Goto Forum:
  


Current Time: Thu Jul 02 21:16:26 GMT+2 2026

Total time taken to generate the page: 0.00494 seconds