We are about to switch to a new forum software. Until then we have removed the registration on this forum.
how can i change the order from the tabs? (specially for the default-tab)
import controlP5.ControlP5;
ControlP5 cp5 = new ControlP5(this);
cp5.addTab("tab1");
cp5.getTab("default").setTitle("tab2");
cp5.addTab("tab3");
it appears:
tab2, tab1, tab3
but i want the default-tab is on the second position.
Answers
You can't. But you can remove the default tab and just use all of your own, since there is no benefit to the default tab anyway.
Code Example
Or rename the default one to tab1.
@ amnon: i had this before. ;)
but now i want to use "default", cause then i don't have to say to each controller "moveTo(tab2)"
@ clankill3r: :)>- yes, but then you can not switch tab1 with tab2