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