The OpenD Programming Language

GridLayout

Constructors

this
this(int width, int height, Widget parent)

The width and height are in some proportional units and can often just be 12.

Members

Enums

Gravity
enum Gravity

If a widget is too small to fill a grid cell, the graviy tells where it "sticks" to.

Functions

setChildPosition
Widget setChildPosition(Widget child, int x, int y, int width, int height, Gravity gravity)

Sets the position of the given child.

Meta

History

Added September 2021 (dub v10.4)