Sets the margin for the child when contained by a stackpane. If set, the stackpane will layout the child with the margin space around it. Setting the value to null will remove the constraint.
child | the child node of a stackpane | |
value | the margin of space around the child |
Diagram: Pane