build
fun build(iconSizeProperty: ObservableInt = Tantalum.iconSizeProperty, block: Actions.NodeBuilder.() -> Unit)
Build nodes based on these Actions.
Any icons are dynamically resized, based on the iconSizeProperty. i.e. if you change the property's value, all icons will change size.
If iconSizeProperty is omitted, the default is taken from Tantalum.iconSizeProperty.
Inside the block, the receiver (this
) is a NodeBuilder, which has methods to create various types of Node.
Build nodes based on these Actions.
Any icons will be a fixed size. The alternate build method, which takes a