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