Please edit your forum post, highlight the code, and press Ctr+o to indent (properly format). This helps people read and test your code to give feedback.
@brugola You are referring to the text size, right? Introduce the extra lines above in your setup and run your example. It changes the size of the text associated with the caption of the button as well as the size of the text associated with the value of the button, which it is printed in the middle of the button.
Answers
Are you, like, drawing the numbers? And you just want them drawn bigger?
Or do you want to take the value from the knob and map it to a larger numeric range?
perhaps you could POST SOME CODE showing us what you are attempting to do. Or maybe an image shows the effect you want.
hello my intention and be able to increase the size of the numbers written inside the knob ......
Not sure. It looks like the captionlabel and valuelabel are drawn here:
https://github.com/sojamo/controlp5/blob/1f7cb649865eb8657495b5cfeddd0dbe85d70cac/src/controlP5/Knob.java#L495
A list of all available methods on knob is at the bottom of the knob demo sketch, here:
https://github.com/sojamo/controlp5/blob/1f7cb649865eb8657495b5cfeddd0dbe85d70cac/examples/controllers/ControlP5knob/ControlP5knob.pde#L78
Please edit your forum post, highlight the code, and press Ctr+o to indent (properly format). This helps people read and test your code to give feedback.
Thanks for providing an MCVE. Here is a demo:
Kf
Thanks for your help ... but I can not understand how to change the visual size of the numbers
@brugola You are referring to the text size, right? Introduce the extra lines above in your setup and run your example. It changes the size of the text associated with the caption of the button as well as the size of the text associated with the value of the button, which it is printed in the middle of the button.
Kf
Thank you very much.... Thanks to your suggestions I succeeded ...
Can I ask you for another tip? How do I calibrate the sensitivity?