Can I scale the whole user interface?

Hi everyone!

I’m making a GUI that all widgets are located in absolute coordinate. Now I want to have the whole interface scaleable. Is there any simple way to do that?

Thanks!

You can set the global scale factor of an application by doing Desktop::getInstance().setGlobalScaleFactor() or for plugins you can use the AudioProcessorEditor::setScaleFactor() method.