Intro Events Layout (Managers)

Wise Layouts

Layouts are weird things. They are in fact restricted to packing widgets, like lists and Tabbed. That means a widget has a layout and children, or neither.

halfway, there are labels with icons. The icon and the string are objects, not widgets, whereas the Button for Tabbed contains a Kill-Button within itself, next to the String (-object)

Implementation thoughts

a layout can have information on each of the children. The children should keep track of that (e.g. their weight in a VList, when scrollbars or not an option; the orientation in the default layout)

if useful, space can be done (external space) per child, as well as (internal space) by the widget. That's nasty, since it has the same name. Perhaps the Layout should have those values, not the Widget?

Should there be widgets like VList, or only Layouts like VLayout? How would you ever translate that to XML?


Kero
Intro Events Layout (Managers)