Drag[en]gine Script Module DragonScript Script API  1.0
FixedMinimalLayout Class Reference

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

Inheritance diagram for FixedMinimalLayout:
FixedLayout Layout

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

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 doLayout ( Container  container)

Layout widgets in container.

Implements Layout.

§ getMinimumSize()

Point getMinimumSize ( Container  container)

Minimal size required for layout in container.

Implements Layout.

§ getMinimumSizeForHeight()

Point getMinimumSizeForHeight ( Container  container,
int  height 
)

Minimum size of layout using reference widget height and variable width.

Implements Layout.

§ getMinimumSizeForWidth()

Point getMinimumSizeForWidth ( Container  container,
int  width 
)

Minimum size of layout using reference width and variable height.

Implements Layout.

§ new()

Create layout.


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