VST resizing issue in DAW

My code is as follows:
setResizable(true, true);
setResizeLimits(500, 300, 2000, 1200);
setSize(1000, 600);

If I grab the VST window by the corner, but not by the CornerResizer component the thing in the picture happens (ignore the pixelation). The plugin is not resized, just the window it sits in. The rest is white+black.

Is this standard behavior? Is there a way around this?

More info there, but no solution

Thank you. I was searching the forum for “resize” keyword but as you can imagine I got too many results and didn’t see this post. Well at least now I know what my options are :slight_smile:

Ever find any solutions for this?


Unfortunately not. I found out it’s more of a DAW issue than JUCE issue. In the end I went with a combo box menu for size selection. That’s the only solution that will work across all major DAWs.

1 Like

It’s quite unfortunate and I’m thinking it’s a JUCE 6 bug – because I don’t believe this happened with any previous versions and my resize code hasn’t really changed at all