Moddifying the table UI element
-
Hey is there any way for me to give the table UI element a snap grid and is there a way for me to change the tension between curves in a different way than just right click and drag? I have no problems coding it in, but I am really new to it and don't fully understand it. Thanks a lot! Have a nice day.
-
@SBKZ You can style it with look and feel. Not sure about snapping, might be possible.
You can use mouse scroll wheel to change the curve, but you need to compile with an extra preprocessor definition, I'll check what it is when I'm back at my computer and let you know.
-
@SBKZ This is it
HISE_USE_MOUSE_WHEEL_FOR_TABLE_CURVE=1
-
I'm interested in snapping too, for a future project. I'm guessing it'll be a lot of mouse position tracking and quantising values of the table points.
-
const var Table1 = Content.getComponent("Table1"); Table1.setSnapValues([0.0, 0.25, 0.5, 0.75, 1.0]);
-
@Christoph-Hart said in Moddifying the table UI element:
const var Table1 = Content.getComponent("Table1"); Table1.setSnapValues([0.0, 0.25, 0.5, 0.75, 1.0]);
WHATTHE!
-
Yooooo thank you so much!
-
@d-healey Ah so it is just a function. Thanks for helping out!
-
@Christoph-Hart ah nice, didn't know about this :)
It would be also be an excellent ux upgrade to include drag handles for the curves rather than mousewheel / right-click dragging.