I want to resize the PluginEditor at runtime. Using setSize() is working pretty good in VstHost, Cubase 4 and ProTools 9/10 but in Cubase 7 the result is pretty strange.
The editor starts in the medium window size (start.png)
If you resize to small the difference in width and height is added as black bars in the window ( small-with-black-borders.png)
If you resize it to large this will work (large.png) if you now resize to anyone of the smaller sizes the window will stay its size but add white boxes around the editor ( large-to-medium.png and large-to-small.png)
I zipped and put the project for this into my dropbox: https://dl.dropboxusercontent.com/u/3066376/VST_resize_test.zip
Is this a Cubase bug? Is there any workaround for this?
Thanks in advance
PS: Our application is currently working with JUCE 2.0.40 and the small test is done with JUCE 3.0.5
PPS: Is there a way to embed the uploaded images?
edit: We are using VST 2.5 and Cubase 7.0.0/7.0.7.