GridLayoutParams
class in package klyn.gui.windows.layouts

    public class GridLayoutParams extends LayoutParams:

LayoutParams
└ GridLayoutParams

Explicit cell placement for `GridLayout`.

    editor = TextBox()
    params = GridLayoutParams()
    params.row = 0
    params.column = 1
    params.columnSpan = 2
    editor.layoutParams = params

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | column `column as Int = -1` | Target column, or `-1` for automatic placement.
public property | columnSpan `columnSpan as Int = 1` | Number of columns consumed by the widget.
public property | row `row as Int = -1` | Target row, or `-1` for automatic placement.
public property | rowSpan `rowSpan as Int = 1` | Number of rows consumed by the widget.

Properties inherited from LayoutParams: growX, growY, horizontalAlign, verticalAlign
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | GridLayoutParams `GridLayoutParams(row as Int = -1, column as Int = -1, rowSpan as Int = 1, columnSpan as Int = 1, growX as Int = 0, growY as Int = 0):` | No summary.
public | GridLayoutParams `GridLayoutParams(row as Int, column as Int, rowSpan as Int, columnSpan as Int, growX as Int, growY as Int, horizontalAlign as String, verticalAlign as String):` | No summary.