I came up with an interesting approach to create "Layout-centric" styleable properties in #JavaFX. Instead of creating a single-use named class, a small amount of setup makes it easy to create StyleableProperties on the fly for your layouts: www.pragmaticcoding.ca/javafx/eleme...
pragmaticcoding.ca
Custom Styleable Properties
With CSS you can control fonts, sizes, borders, alignment, padding an lots of other standard Properties of your layouts. This allows you to control the styling from outside your code. But what if th...