the CTextButton control is clipped incorrectly on Windows (7 and 10). It is very obvious when you use the VSTGUI live editor, open AGain and zoom in to 500% on the [Send!] button. I marked the clipped areas in the first screenshot (see below).
I can correct this by adding [kNonIntegralMode] in function [CTextButton::draw] like this (see 2nd screenshot below).
But I am not sure if this is the proper way of fixing this. I checked other controls which are almost all affected by this. Can someone verify this? Is this a known behavior?
Code: Select all
context->setDrawMode (kAntiAliasing | kNonIntegralMode);