The TextEditor for one, use a default 14.0f font size (set in the constructor).
I can set the font by myself with a setFont call, but I would prefer not having to do so for all the text editor I’m using.
TextButton use default 15.0f font height (in getFont()), and it’s not possible to increase this.
Label use a default 15.0f font height (in the constructor)
The combobox use label, hence a 15.0f font but also use the LookAndFeel::comboBoxFont…
Probably adding a LookAndFeel::getDefaultFontHeight() or a Font::getDefaultFontHeight() could be a good idea there.
Well, I disagree with you on that point.
textButton and comboBox font are proportional to the height only if the “computed” height is below the min height said above.
(The code is something like “return Font (jmin (15.0f, getHeight() * 0.6f));”)
This means that the maximum height is 15.0f and it’s not customizable.
Maybe a better code would be “return Font (jmin (Font::getDefaultFontHeight(), getHeight() * 0.6f));” ?