AudioProcessorEditor::resized() for my plugin is not being called when the user resizes the window using the window frame, but is called when the bottom right corner resizer is dragged. This is Juce 6.0.5 under Windows 10, testing a VST3 build with Ableton Live 10 and Bitwig Studio v3. Please see this video for exactly what is happening, as it is better explained visually: AudioProcessorEditor::resized() confusion - YouTube
An extract of the code at the end of my
AudioProcessorEditor constructor looks like this (
setResizable(true, true) for me, so I am not calling it here):
setResizeLimits(w, h, gui_scale_max*w, gui_scale_max*h); getConstrainer()->setFixedAspectRatio(static_cast<double>(w)/static_cast<double>(h)); setSize(static_cast<int>(static_cast<double>(w) * gui_scale), static_cast<int>(static_cast<double>(h) * gui_scale));
Ideally I want to completely disable resizing via the window frame, and only resize via the bottom right hand corner resizer.
Thanks in advance for any help or ideas on this. There is a possibility I’ve been doing something stupid - been reading the docs & source code most of this morning but can’t quite get a handle on it.