tornadofx / tornadofx / HBoxConstraint

HBoxConstraint

class HBoxConstraint : MarginableConstraints

Constructors

<init> HBoxConstraint(node: Node, margin: Insets? = HBox.getMargin(node), hGrow: Priority? = null)

Properties

hGrow var hGrow: Priority?
margin var margin: Insets?

Inherited Properties

marginBottom var marginBottom: Double
marginLeft var marginLeft: Double
marginRight var marginRight: Double
marginTop var marginTop: Double

Functions

applyToNode fun <T : Node> applyToNode(node: T): T

Inherited Functions

marginLeftRight fun marginLeftRight(value: Double): Unit
marginTopBottom fun marginTopBottom(value: Double): Unit

Extension Functions

getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>