Page 1 of 1

Shrinking the movement area of a CKnob handle

Posted: Wed Feb 26, 2020 1:57 pm
by Kyra
Quick heads up before I start; i'm new to programming in general, so please bear with me if i'm missing something that's right under my nose.

Currently i've got a knob on my vst that looks like this Image
This is fine, but the look i'm aiming for is more like this Image

Is there a way to shrink the area that the handle of the knob rotates around in order to bring it closer to the center of the knob?

Re: Shrinking the movement area of a CKnob handle

Posted: Wed Feb 26, 2020 2:16 pm
by Arne Scheffler
Yes there is, see the value-inset attribute or CKnob::setInsetValue().

Cheers,
Arne

Re: Shrinking the movement area of a CKnob handle

Posted: Wed Feb 26, 2020 3:29 pm
by Kyra
ahh thanks

tried that before but just realized i'd put inset-value instead