[API Review]: Add "margin" property to node and make it styleable from CSS

Tom Eugelink tbee at tbee.org
Tue Jun 11 06:49:22 PDT 2013


On 2013-06-11 15:36, Martin Sladecek wrote:
> Means new *Constraint class and new "add" method for each layout *Pane class. Also one of the nice side-effects of having this as a property is that we can style it using "-fx-margin" CSS property.

Yup, constraint classes with values that are relevant for / supported by the used layout. The one layout may support totally different layout parameters than another. By adding this to the node, basically all layout must be modified to support this.

Tom



More information about the openjfx-dev mailing list