alignedLeftWidthProperty
When set, this acts as a minimum width for the left column (i.e. it acts the same as minLeftWidthProperty).
This can be used in conjunction with actualLeftWidthProperty to align two or more FormGrids. e.g.
val form1 = FormGrid()
val form2 = FormGrid()
val maxWidth = max( form1.actualLeftWidthProperty, form1.actualLeftWidthProperty ).asNullable()
form1.joinedLeftWidthProperty.bindTo( maxWidth )
form2.joinedLeftWidthProperty.bindTo( maxWidth )
Content copied to clipboard
The reason for having an additional property, rather than just binding minLeftWidthProperty to maxWidth
is so that minLeftWidthProperty can be used by a Theme (it is stylable). If there were only one property we could either align two form grid, or style the width (but not both).
See DemoFormGridJoined
in glok-demos subproject.