controlP5 - styling TextField
in
Contributed Library Questions
•
8 months ago
Hi,
I have got two questions on styling a controlP5 Textfield:
1. I
s it possible to change the border color of a controlP5.Controller.Textfield ?
I can change the border color on focus with
.setColorActive("color") but cannot find a similar methode for the "ColorPassive" (.setColor(color) sets the textColor)
can I extend the Textfield und override the color (does someone know which methode to override?)
2. I'd like to set a "padding-left" to the Textfield. I didn't find a methode either.
my workaround is adding a " " to the front of the String.
Would be great, if someone has a solution (especially for the borderColor).
Thanks
1