Make component not changing with system display size on Windows


#1

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 ==>> http://windows.microsoft.com/en-us/windows7/make-the-text-on-your-screen-larger-or-smaller?v=t

 

 

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?

 

Thanks.

 

 

 

 


#2

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