Make component not changing with system display size on Windows

Hi All,


On windows, I noticed that some components in Juce are changing with the system display size (when it is not 100% normal size), but some are not.


This setting ==>>



All normal juce components respond to this system setting, i.e. when user has a 125% display size setting, a component with 1000 px width is actually 1250 px on screen.


But some juce component does not change, like my audio process editor plugin. 


So I am having problem when mixing the two components. Some are larger than others.


Is there a way to make all component not responding to this system setting?







Yes - have a look at Desktop::setGlobalScaleFactor()