Radio button label font in ControlP5
in
Contributed Library Questions
•
2 years ago
I have been adjusting the ControlP5 label font using:
theFont = new ControlFont(createFont("Times",12),12)
slider1.captionLabel().setControlFont(theFont);
slider1.valueLabel().setControlFont(theFont);
This is working for most of my controllers. However, it is not working for my radio buttons. I have tried both:
rbutton.captionLabel().setControlFont(theFont);
rbutton.valueLabel().setControlFont(theFont);
and
controlP5.controller("rbutton").captionLabel().setControlFont(theFont)
controlP5.controller("rbutton").valueLabel().setControlFont(theFont)
Neither of these methods are working (but are not returning any errors). Anyone know how to adjust the label font on radio buttons?
Thanks!
1