Add multiple values to Switch widget

Switch widget has currently only two values. How can I add more?
I would like to create a radio button with 4 options.
-Thanks!

Hi, the default for values is:

{
  "Value 1": 1,
  "Value 2": 2
}

It’s a javascript object containing « "label": value » items, one can define additional values by adding items to this object:

{
  "Value 1": 1,
  "Value 2": 2,
  "Value 3": 3,
  "I'm just a label": 99
}

Note that the object’s items must be separated by comas.

1 Like

Thank you for the explanation! I absolutely love your software but I am always failing at it due me lacking basic knowledge in CSS and Java.

Is it possible to have Switch widget with two rows? I want to make 8 buttons in two rows.

Yes, check this out : https://github.com/jean-emmanuel/open-stage-control/issues/152#issuecomment-474299111

1 Like