gui2.fixedlayout

Fixed layout that never changes.

class FixedLayout: gui2.layout.Layout;

Fixed layout - bounds of the widget are set from the start and don't change.

Useful for e.g. the root widget.

this(ref Node yaml);

Construct a FixedLayout from YAML.

package void setBounds(ref const Recti bounds);

Manually set bounds of the layout.

This is used only_ by GUISystem for layout of the root widget.

Parameters:
Recti bounds New bounds of the layout.