TVS wrote on Jan 26th, 2009, 2:26pm:Rather simple questions (I hope...):
Q1: can you set a Radio-element-list to start with none of the options selected at all
with version 0.3.9 use
Radio r = controlP5.addRadio("myRadioValue",10,340);
/* add your radio buttons*/
r.deactivateAll();
TVS wrote on Jan 26th, 2009, 2:26pm:Q2: How can I change the size of a textlabel, constructed with : Textlabel(theComponent, theValue, theX, theY)
with version 0.3.9 you can do that with setWidth, setHeight
TVS wrote on Jan 26th, 2009, 2:26pm:Q3: How can I change the tab of a textlabel constructed with:
Textlabel(theComponent, theValue, theX, theY, theW, theH, theColor, theFont);
how to move a textlabel that has been created with "new" to another tab than the default:
Code:
Tab myTab = controlP5.addTab("new");
Textlabel myTextlabel = new Textlabel(this,"a single textlabel.",20,100,400,200,0xffff0000,ControlP5.standard56);
myTab.addDrawable(myTextlabel);
TVS wrote on Jan 26th, 2009, 2:26pm:Q4: where can I find a list of possible fonts for 'theFont' of a textlabel mentioned in Q3
ControlP5.standard56
ControlP5.standard58
ControlP5.synt24