Tuesday, 13 August 2013

Text line height

Text line height

How can I specify a line height in a multi-line Text / Label?
It already seems it's not supported in css:
JavaFX CSS does not support comma-separated series of font family names in
the -fx-font-family property. The optional line height parameter when
specifying fonts is not supported. There is no equivalent for the
font-variant property.
Is there a reason for this?
Is there an alternative to set this in code? Or kinda emulate the
functionality? I want to control vertical rhythm within my app.

No comments:

Post a Comment