What is the difference between the constants PLUGIN_MIN(MAX)_WIDTH(HEIGHT) and calling IPlugEditorDelegate::SetSizeConstraints?
My main concern is that when I resize the window below PLUG_WIDTH or PLUG_HEIGHT, the UI correctly resizes but the host (Reaper) shows scrollbars that scroll into white, outside of the bounds of GetBounds().
I also tried in FL Studio. Instead of showing scrollbars, it forbids resizing any dimension below the PLUG_WIDTH/HEIGHT, even if PLUG_MIN_WIDTH/HEIGHT is much less.
Update: This happened because I was using IEditorDelegate::SetSizeConstraints().
With PLUG_MIN_WIDTH/HEIGHT only, it works properly.