Can I scale the whole user interface?

gui

#1

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!


#2

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.