setScaleFactor issue in standalone

Using latest develop tip, opening the AudioPluginDemo and just adding setScaleFactor (0.5) in the editor constructor: the GUI scales accordingly, but when run in standalone, the window is not resized.


When ran as a VST3 plugin, it looks fine.

Any clue?


This should be fixed in d2a90d1, thanks for reporting!

1 Like

Hi ed,

Just checked. Indeed, this works fine when the editor gets opened, however, any subsequent call to setScaleFactor() won’t resize the window, even with a call to setSize() or resized() immediately after that.

Thanks for your help.

Thanks, this should fix it.

1 Like

Yes! Works like a charm! Thanks a lot :slight_smile: