Hi audio plugin experts !
I did an audio plugin (to be used solely in Reaper) that provides a rather big and resizable GUI.
I am already rather up to speed with designing that GUI, which mainly consists of a huge vertically and horizontally scrollable grid (table) within a tabsheed, which is supposed to automatically resize to fill the window the DAW provides for it.
This works great when compiled to a standalone. (Very happily the JUCE library automatically provides this “Standalone” wrapper for plugins. THANKS A LOT !)
It also works perfectly right out of the box when compiled to a VST3 and loaded in Reaper.
But when compiled to a VST2, the GUI I designed does not resize, but stays at the initial size, and sits “behind” the Window the DAW provides for it. If that window is big, my GUI sits in the left top corner. It the window is small, someone (supposedly the DAW) provides vertical and horizontal scrollbars. This is usable, not the intended behavior. I want the scrollbars just for the grid (i.e.within the tab sheet, and automatically provided by the JUCE Table componemnt) - as perfectly working with a VST3, i.e. my GUI auto-adapting to the window.
I do know that this is not a shortcoming of Reapers, as - while I did find several VST2 plugins that behave in the same way - I also found multiple VST2 plugins that behave in the way I’d like to see,
Is there any way to have my GUI in VST2 detect the size of the parent window and resize automatically to exactly fill same ?
I found that adding
Works, but not really as nice as with a VST3, as you still can resize the surrounding Window separately.
Thanks for any hints,