Drag[en]gine Script Module DragonScript  1.23
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. 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...
 

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.

◆ getMinimumSize()

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

Minimal size required for layout in container.

Reimplemented from Dragengine.Gui.Layouts.FixedLayout.

◆ 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.

◆ 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.

◆ new()

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

Create layout.

Reimplemented from Dragengine.Gui.Layouts.FixedLayout.

Reimplemented in Dragengine.Gui.Layouts.ViewportLayout.


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