# Resizing AU plugins

**URL:** <https://forum.juce.com/t/resizing-au-plugins/31539>\
**Category:** Audio Plugins\
**Created:** [January 31, 2019, 9:46am UTC](https://forum.juce.com/t/resizing-au-plugins/31539 "2019-01-31T09:46:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [January 31, 2019, 9:46am UTC](https://forum.juce.com/t/resizing-au-plugins/31539/1 "2019-01-31T09:46:47Z")

</div>

Hi, any tips on resizing AU plugins? I have this working on standalones and VSTs, but can’t seem to get AU sorted. Any pointers welcome.

thx

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [January 31, 2019, 11:38am UTC](https://forum.juce.com/t/resizing-au-plugins/31539/2 "2019-01-31T11:38:12Z")

</div>

It works for me, if I use the draggable corner.  
Dragging the border doesn’t work for me, even though Logic shows the resize cursors ☹

---

<div class="post-metadata">

**Author:** ![scopedaudio](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@scopedaudio](https://forum.juce.com/u/scopedaudio)\
**Post date:** [January 31, 2019, 12:26pm UTC](https://forum.juce.com/t/resizing-au-plugins/31539/3 "2019-01-31T12:26:30Z")

</div>

I have the exact same problem. VST works fine, AU doesn’t.  
I’m using setScaleFactor() in my editor.

Thanks

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [January 31, 2019, 12:36pm UTC](https://forum.juce.com/t/resizing-au-plugins/31539/4 "2019-01-31T12:36:54Z")

</div>

I use a call to setTransform() and setSize() - wasn’t aware of the setScaleFactor() call.

---

<div class="post-metadata">

**Author:** ![scopedaudio](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@scopedaudio](https://forum.juce.com/u/scopedaudio)\
**Post date:** [February 1, 2019, 10:30am UTC](https://forum.juce.com/t/resizing-au-plugins/31539/5 "2019-02-01T10:30:44Z")

</div>

@t0m @jules  
Can we bother you with this question as we’re working on a commercial product that will launch soon.  
Should we expect that, for plugins, the setScaleFactor() should work the same for VST and AU so the window will resize with the increased/decreased editor size?  
Or maybe supply a possible workaround for this?

Help appreciated and thanks,  
Milan

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [February 6, 2019, 10:23am UTC](https://forum.juce.com/t/resizing-au-plugins/31539/6 "2019-02-06T10:23:36Z")

</div>

[This commit](https://github.com/WeAreROLI/JUCE/commit/52b86a0e0b248751e2f3100277b2d42b6b8e8443) makes the `AudioProcessorEditor::setScaleFactor()` behaviour in AUs consistent with VSTs.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [February 6, 2019, 10:25am UTC](https://forum.juce.com/t/resizing-au-plugins/31539/7 "2019-02-06T10:25:35Z")

</div>

The `setScaleFactor`, or also being able to resize dragging the border, like the cursor arrows suggest?

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [February 6, 2019, 10:28am UTC](https://forum.juce.com/t/resizing-au-plugins/31539/8 "2019-02-06T10:28:46Z")

</div>

The `setScaleFactor()` issue, I’ve updated my post to clarify.

---

<div class="post-metadata">

**Author:** ![scopedaudio](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@scopedaudio](https://forum.juce.com/u/scopedaudio)\
**Post date:** [February 6, 2019, 2:28pm UTC](https://forum.juce.com/t/resizing-au-plugins/31539/9 "2019-02-06T14:28:47Z")

</div>

Thanks Ed! I’ve just tested it on the Audio Unit and it seems to be working 100%.  
In case you’re interested in what we do, we are building the plugins for Audiaire 🙂 .

Much appreciated,  
Milan

---

<div class="post-metadata">

**Author:** ![lassandroan](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lassandroan/32/6371_2.png) [@lassandroan](https://forum.juce.com/u/lassandroan)\
**Post date:** [September 29, 2019, 4:21am UTC](https://forum.juce.com/t/resizing-au-plugins/31539/10 "2019-09-29T04:21:38Z")

</div>

Anyone have luck with `setScaleFactor()` on DAWs like Reaper?

If I make a VST3 plugin and call `setScaleFactor()` my whole UI disappears until I resize Reaper’s FX window… and even then when my UI comes back it’s at a y-position that’s equal to the height of my plugin 😕
