Draggable Filter Points
-
Hi there, is it possible to remove the digits of the points clicked on a floating tile with a draggable filter panel and set the points set to a maximum of 5?
-
@treynterrio Yes, use a LAF for drawing the drag handles:
const var eq_laf = Content.createLocalLookAndFeel(); eq_laf.registerFunction("drawFilterDragHandle", function(g, obj) { g.setColour(Colours.white); obj.handle[0] += 5; obj.handle[1] += 5; obj.handle[2] -= 10; obj.handle[3] -= 10; g.fillEllipse(obj.handle); }); Content.getComponent("FloatingTile1").setLocalLookAndFeel(eq_laf);
In order to set the max number to 5, create as many bands as you want the user to have, then use the
AllowFilterResizing
property:{ "ProcessorId": "Parametriq EQ1", "AllowFilterResizing": false, "Index": -1, "FollowWorkspace": false }
-
@Christoph-Hart thank you!!! :folded_hands_light_skin_tone:
-
This post is deleted! -
-