Some of my AudioUnit plugins don’t resize correctly when running in Ardour. I’ve been on to the Ardour guys and they’ve informed me that if the Cocoa View of my plugin GUI has autoresizingMask set to anything other than UIViewAutoresizingNone Ardour’s container will resize accordingly.
I’ve searched the JUCE code base for autoresizingMask but couldn’t find any instances of it. According the the Apple docs:
When creating a view, it is important to assign an appropriate value to the autoresizingMask property to ensure the view resizes correctly. View resizing primarily occurs when the orientation of your application’s interface changes but it may happen at other times as well. For example, calling the setNeedsLayout method forces your view to update its layout.
Any ideas where I can look, or try adding this? I’ve very little experience with the AU side of JUCE.