Browse Source

AudioPluginDemo: Explicitly add corner resizer to editor

tags/2021-05-28
ed 4 years ago
parent
commit
f5a21daa06
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      examples/Plugins/AudioPluginDemo.h

+ 1
- 0
examples/Plugins/AudioPluginDemo.h 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));


Loading…
Cancel
Save