Need way to define width and height in CSS
Randahl Fink Isaksen
randahl at rockit.dk
Wed Dec 12 23:31:14 PST 2012
I thought so too at first. But I actually managed to build a whole application without it. But I agree that sometimes this would be useful. I think you should do some Jira searches, because as I recall this has been suggested before, and reading what the response was will probably be helpful and give you an indication on whether to raise the issue again.
On Dec 12, 2012, at 0:50 , Pedro Duque Vieira <pedro.duquevieira at gmail.com> wrote:
> 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