Need way to define width and height in CSS

Pedro Duque Vieira pedro.duquevieira at
Tue Dec 11 15:50:54 PST 2012


After some practice writing  JavaFX CSS one thing as become clear: a way to
clearly define a width and a height is lacking.
In standard w3c css you have width and height, on JavaFX CSS you have
padding - look at the way the size of the mark on a checkbox is defined in
caspian. Padding isn't the nicest way to define this because it is supposed
to define the spacing between an element and it's contents.


Pedro Duque Vieira

More information about the openjfx-dev mailing list