label suffix?
-
Hello, I don't remember a stupid thing.
I have a label in which is displayed the value of my buttons.
label.set ("text", value);
in the reminder of each button.
however I would like to add the suffix Hz or Db or% for each button.
I can create a second label to add the suffix but I would prefer to have only one. how can I modify this line> set ("text", value)? thank you -
label.set("text" value + suffix);
The knob has a suffix property that you can use.
label.set("text", value + knob.get("suffix"));
-
@d-healey yes I put the suffixes on the knobs. it works :) thanks