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