# VST3 resizing issue in Reaper

**URL:** <https://forum.juce.com/t/vst3-resizing-issue-in-reaper/31051>\
**Category:** Audio Plugins\
**Created:** [December 29, 2018, 8:24am UTC](https://forum.juce.com/t/vst3-resizing-issue-in-reaper/31051 "2018-12-29T08:24:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jnicol](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jnicol/32/1532_2.png) [@jnicol](https://forum.juce.com/u/jnicol)\
**Post date:** [January 5, 2019, 9:38pm UTC](https://forum.juce.com/t/vst3-resizing-issue-in-reaper/31051/2 "2019-01-05T21:38:13Z")

</div>

I am also experienced VST3 resizing weirdness in Reaper (64bit, OS X).

In my case I have observed that if either `setResizable` or `setResizeLimits` is present in the editor’s constructor, then the width and height defined in `setSize` are ignored, and the plugin GUI is initially scaled to fill Reaper’s FX window.

Additionally, if `setFixedAspectRatio` is also present then resizing Reaper’s FX window by dragging its edges will cause the plugin GUI to be resized, which is not the case with VST2 plugins (I believe the plugin should only resize when Juce’s resizable corner component is dragged). The GUI will “jump” around the screen as the FX window is resized, and might even be positioned off screen.

I have observed this behaviour in VST3 versions of commercial Juce plugins by other developers.

Here is example code that will reproduce the problem:

```
    setResizable(true, true);
    setResizeLimits(600, 400, 1200, 800);
    getConstrainer()->setFixedAspectRatio(1.5);
    setSize (600, 400);
```

---

_[View the full topic](https://forum.juce.com/t/vst3-resizing-issue-in-reaper/31051)._
