public class LayoutParams:
Common layout hints shared by all window layouts.
field = TextBox() params = LayoutParams(1, 0) params.horizontalAlign = "fill" field.layoutParams = params
| Modifier and Type | Member | Description |
|---|---|---|
| public property | growXgrowX as Int = 0 |
Horizontal growth factor used when extra space is available. |
| public property | growYgrowY as Int = 0 |
Vertical growth factor used when extra space is available. |
| public property | horizontalAlignhorizontalAlign as String = "fill" |
Horizontal alignment inside the allocated slot. |
| public property | verticalAlignverticalAlign as String = "fill" |
Vertical alignment inside the allocated slot. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | LayoutParamsLayoutParams(growX as Int = 0, growY as Int = 0): |
No summary. |
| public | LayoutParamsLayoutParams(growX as Int, growY as Int, horizontalAlign as String, verticalAlign as String): |
No summary. |