Is there a way to change the ScaleFactorList value via code?
-
I'm trying to find a way to change the value of 'ScaleFactorList' that controls the plugin windows size via code.
Obviously, it can be changed using the floating tile dropdown but I was hoping that values can be changed without it.eg
Moving between 100%, 125%, 150% etc or through whatever values have been specified.
Is this possible?
-
@LeeC There's a
getZoomLevel()
method but not aset
one...
Shouldn't be too hard to add... -
If you could add something that would be great @ustk.
I've been making good use of the 'Engine.getSystemTime()' that you implemented so thanks again for that!
-
LightandSound has a freeform resize
https://forum.hise.audio/topic/2756/some-additions-please-enjoy
-
@iamlamprey appreciate the link to that. Doesn't look like it ever got fully merged though looking at the thread and there were a few questions over stability.
@ustk if you're still up for adding a
setZoomLevel()
that would be ace as it would also allow us to set a default size on initialisation (other than 100%) amongst other things.Cheers
-
Well, I was presumptuous, it is much harder than I thought...
-
@ustk "Shouldn't be too hard to add..." were the famous last words!
Appreciate you taking a look though -
Shame that there's no way to access the Scalefactor attribute within the floating tile