Drag[en]gine Script Module DragonScript
1.23
|
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... | |
Public Member Functions inherited from Dragengine.Gui.Layouts.FixedLayout | |
void | addWidget (Widget widget, Object settings) |
Add widget to layout using settings. 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.
void Dragengine.Gui.Layouts.FixedMinimalLayout.doLayout | ( | Container | container | ) |
Layout widgets in container.
Reimplemented from Dragengine.Gui.Layouts.FixedLayout.
Reimplemented in Dragengine.Gui.Layouts.ViewportLayout.
Minimal size required for layout in container.
Reimplemented from Dragengine.Gui.Layouts.FixedLayout.
Point Dragengine.Gui.Layouts.FixedMinimalLayout.getMinimumSizeForHeight | ( | Container | container, |
int | height | ||
) |
Minimum size of layout using reference widget height and variable width.
Reimplemented from Dragengine.Gui.Layouts.FixedLayout.
Point Dragengine.Gui.Layouts.FixedMinimalLayout.getMinimumSizeForWidth | ( | Container | container, |
int | width | ||
) |
Minimum size of layout using reference width and variable height.
Reimplemented from Dragengine.Gui.Layouts.FixedLayout.
FixedMinimalLayout Dragengine.Gui.Layouts.FixedMinimalLayout.new | ( | ) |
Create layout.
Reimplemented from Dragengine.Gui.Layouts.FixedLayout.
Reimplemented in Dragengine.Gui.Layouts.ViewportLayout.