1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

AudioPluginDemo: Explicitly add corner resizer to editor

This commit is contained in:
ed 2021-03-11 12:56:25 +00:00
parent 34f8afbbca
commit f5a21daa06

View file

@ -402,6 +402,7 @@ private:
// set resize limits for this plug-in
setResizeLimits (400, 200, 1024, 700);
setResizable (true, true);
lastUIWidth .referTo (owner.state.state.getChildWithName ("uiState").getPropertyAsValue ("width", nullptr));
lastUIHeight.referTo (owner.state.state.getChildWithName ("uiState").getPropertyAsValue ("height", nullptr));