Layout Element#
- class LayoutElement#
How much space a user interface element asks a
Layoutfor.Note
A layout gives every element its minimum size first. Any space left over is shared out to bring elements up to their preferred size, and anything still left over is shared between the elements with a flexible size, in proportion to it.
- Tuple<double, double> MinSize { get; set; }#
The smallest size the element can be given, in pixels. A negative value in either direction leaves that direction unconstrained.
- Game Scenes:
All
- Tuple<double, double> PreferredSize { get; set; }#
The size the element asks for, in pixels. A negative value in either direction leaves that direction unconstrained.
- Game Scenes:
All