Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Gui.Layouts.FixedMinimalLayout Class Reference

Sets widgets to their minimal desired size without moving them. More...

Inheritance diagram for Dragengine.Gui.Layouts.FixedMinimalLayout:
Dragengine.Gui.Layouts.FixedLayout Dragengine.Gui.Layout Dragengine.Gui.Layouts.ViewportLayout

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.

Detailed Description

Sets widgets to their minimal desired size without moving them.

Instances of this layout can be shared by multiple widgets.

Member Function Documentation

◆ doLayout()

void Dragengine.Gui.Layouts.FixedMinimalLayout.doLayout ( Container container)

Layout widgets in container.

Reimplemented from Dragengine.Gui.Layouts.FixedLayout.

Reimplemented in Dragengine.Gui.Layouts.ViewportLayout.

References doLayout().

Referenced by doLayout().

◆ getMinimumSize()

Point Dragengine.Gui.Layouts.FixedMinimalLayout.getMinimumSize ( Container container)

Minimal size required for layout in container.

Reimplemented from Dragengine.Gui.Layouts.FixedLayout.

Referenced by getMinimumSizeForHeight().

◆ getMinimumSizeForHeight()

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.

References getMinimumSize(), getMinimumSizeForHeight(), getMinimumSizeForWidth(), and new().

Referenced by getMinimumSizeForHeight().

◆ getMinimumSizeForWidth()

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.

Referenced by getMinimumSizeForHeight().

◆ new()

FixedMinimalLayout Dragengine.Gui.Layouts.FixedMinimalLayout.new ( )

Create layout.

Reimplemented from Dragengine.Gui.Layouts.FixedLayout.

Reimplemented in Dragengine.Gui.Layouts.ViewportLayout.

References new().

Referenced by getMinimumSizeForHeight(), and new().


The documentation for this class was generated from the following file: