How to set the line height of a text label?


#1

Is there any equivalent to the CSS line-height property in JUCE? I'm making a text label with instructions for an audio plugin, but the lines are VERY squashed together and I'd like to space them out.

Screenshot here:

https://www.dropbox.com/s/pxpi5oshi5nr5xu/Screenshot%202014-09-16%2018.02.31.png?dl=0


#2

No.. the spacing is based on the font height, there's currently no way to override it. It does look like that font is particularly tight!


#3

Is it still true that the height between two lines can't change?


#4

It's true that a Label only uses a single font, but you could draw an AttributedString which contains any mixture of fonts, or use a TextEditor with mixed fonts.