Drag[en]gine Script Module DragonScript Script API
1.0
|
Sets widgets to their minimal desired size without moving them. More...
Public Member Functions | |
void | doLayout (Container container) |
Layout widgets in container. More... | |
Point | getMinimumSize (Container container) |
Minimal size required for layout in container. More... | |
Point | getMinimumSizeForHeight (Container container, int height) |
Minimum size of layout using reference widget height and variable width. More... | |
Point | getMinimumSizeForWidth (Container container, int width) |
Minimum size of layout using reference width and variable height. More... | |
FixedMinimalLayout | new () |
Create layout. More... | |
![]() | |
void | addWidget (Widget widget, Object settings) |
Add widget to layout using settings. More... | |
void | doLayout (Container container) |
Layout widgets in container. More... | |
Point | getMinimumSize (Container container) |
Minimal size required for layout in container. More... | |
Point | getMinimumSizeForHeight (Container container, int height) |
Minimum size of layout using reference widget height and variable width. More... | |
Point | getMinimumSizeForWidth (Container container, int width) |
Minimum size of layout using reference width and variable height. More... | |
FixedLayout | new () |
Creat layout. More... | |
void | removeWidget (Widget widget) |
Remove widget from layout. More... | |
Sets widgets to their minimal desired size without moving them.
Instances of this layout can be shared by multiple widgets.
Minimal size required for layout in container.
Implements Layout.
Minimum size of layout using reference widget height and variable width.
Implements Layout.
Minimum size of layout using reference width and variable height.
Implements Layout.
FixedMinimalLayout new | ( | ) |
Create layout.