Scalable UI: Maximum Scale

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
bx_joscha
Posts: 55
Joined: Thu Aug 24, 2017 6:21 am

Scalable UI: Maximum Scale

Postby bx_joscha » Tue Feb 19, 2019 2:22 pm

Hello,

I guess this is a common problem, so I decided to ask in this board. Is there an easy way in VSTGUI to determine the maximum resolution for a plug-in's editor? For example, if the maximum height would be 2000 and the editor's height is 1200, a zoom factor of 2 should be impossible.

Regards,

Joscha

Arne Scheffler
Posts: 241
Joined: Mon Jun 20, 2016 7:53 am

Re: Scalable UI: Maximum Scale

Postby Arne Scheffler » Tue Feb 19, 2019 2:35 pm

No. I think it's the responsibility of the host to prevent the resize of its window to a size bigger than the screen.
But I have never actually checked this myself, if this is the case.

Cheers,
Arne

bx_joscha
Posts: 55
Joined: Thu Aug 24, 2017 6:21 am

Re: Scalable UI: Maximum Scale

Postby bx_joscha » Tue Feb 19, 2019 2:40 pm

Thank you Arne. Our experiences with this are that all DAWs behave differently. The worst-case for us happens in Pro Tools, where the upper part of the UI gets cut-off, so you would lose the option to change back the zoom factor and you get lost forever.

Arne Scheffler
Posts: 241
Joined: Mon Jun 20, 2016 7:53 am

Re: Scalable UI: Maximum Scale

Postby Arne Scheffler » Tue Feb 19, 2019 3:40 pm

As last resort, you can add a context menu where the user can also change the scaling.

Arne


Return to “VSTGUI”

Who is online

Users browsing this forum: No registered users and 2 guests