We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › ControlP5 hiding labels
Page Index Toggle Pages: 1
ControlP5 hiding labels (Read 1218 times)
ControlP5 hiding labels
Apr 24th, 2010, 5:59am
 
hi

is there anyway to switch off controller labels


I noticed that padding/margins can be set so one option would be to use that to push them out the window - but maybe is a more elegant solution?

Mark
Re: ControlP5 hiding labels
Reply #1 - Apr 24th, 2010, 12:41pm
 
my current solution

myTexField.captionLabel().style().marginTop = height;

which moves the label off the bottom of the frame


Mark
Re: ControlP5 hiding labels
Reply #2 - Apr 24th, 2010, 10:39pm
 
to make a label invisible, use:
Code:

myTexField.captionLabel().setVisible(false);

you can do the same for values e.g. for a slider:
Code:

mySlider.valueLabel().setVisible(false);
Re: ControlP5 hiding labels
Reply #3 - Apr 25th, 2010, 4:19am
 
cool

thanks for getting back with that


Mark
Page Index Toggle Pages: 1