Hello all,
I am developing a resizeable plugin, but am running into this problem:
If my MacOS system display preferences are set to be scaled above the default scale, when I open my plugin in Ableton, the default plugin window will be too large and partly outside the viewable area of my screen.
Does anyone know how to prevent this problem? Can I force my plugin window size to never be larger than what would fit on the display? Maybe I can query the OS scaling preference?
Thanks for any help!
More Details
VST3 and Audio Unit formats behave slightly different for me in this scenario. For Audio Unit, the plugin window will extend past the borders of my display. For VST3, the plugin window is prevented from being larger than the display, but the internal contents of the plugin are scaled past the plugin window borders.
Here’s a screenshot of the problematic MacOS display preferences:
OS: macOS 12.2.1
Ableton Live: 11.1.1
JUCE 6.1.6