viewport, no method at all?
ustk last edited by
Is there really no way to read a viewport property?
I thought they only weren't in the API collection, but it appears they are simply not existing...
Yup they seem to be missing
d.healey last edited by d.healey
These properties are accessible now using
.get(), not sure when that happened. But the API docs are still missing.
@Christoph-Hart Is it possible to set the width of a viewport in the ScriptInterface?
I am not managing to do it, but I am on an outdated HISE (year-old) version. Is the current version able to do it?
@d-healey Thanks. In your example, "viewport" is the name of the variable, correct?
Not working for me. Was this added within the last year?
As far as I know it's always been there, it's the same for all components.
But you should use the latest develop branch anyway.
@d-healey Thanks so much, Dave. I'll check it out now. Yeah, I'll use the latest branch for compiling. I just didn't want to introduce additional potential issues right now, as the current version works well.
I'll report how this goes.
@d-healey Got it going. Did my head in. I was referencing a non-existing panel, as opposed to the viewport panel. Of course, nothing was happening! Rookie mistakes. Thanks so much, Dave!