PopupMenu standardItemHeight


#1

The docs say:

@param standardItemHeight if this is non-zero, it will be used as the standard height for menu items (apart from custom items)

However, standardItemHeight is only used if it is larger than the default Font * 1.3

Shouldn’t standardItemHeight always override the default menu font size?


#2

Yes, you’re right about that - I guess the line in LookAndFeel.cpp needs changing to

idealHeight = standardMenuItemHeight > 0 ? standardMenuItemHeight : roundFloatToInt (font.getHeight() * 1.3f);


#3