GenericOptionMenu doesn't respect theme.font

If you customize a generic option menu’s theme font some menu items may be cut off because context->getStringWidth (item->getTitle ()) in DataSource::calculateMaxWidth () in genericoptionmenu.cpp doesn’t respect the font size.
Please add context->setFont(theme.font) in line 63 to fix that.

Best,
Ray

Hi, for such simple fixes it would be better if you fork VSTGUI on GitHub, check the fix in and create a Pull Request to add it to the official repo. Then I must only click a button on GitHub :wink:

Cheers,
Arne

Okay, gotcha…I only had limited internet access through my phone when I made that post. I’ll create a PR next time, sorry.