We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Is it still possible to reposition tabs in cp5?
form this reference it says to use ControlWindow.setPositionOfTabs(int, int) but ControlWindow is deprecated.
http://www.sojamo.de/libraries/controlP5/reference/controlP5/Tab.html
ControllerGroup.setPosition(int, int) doesn't work, at least just playing with the example, like this:
cp5.getTab("extra").activateEvent(true).setId(2).setPosition(30, 40);
Answers
Yes.
cp5.getWindow().setPositionOfTabs(x, y);
Hey thanks,
I've not been notified of your answer!
It works, thanks a lot!
Hi,
I know the question was answers a long time ago, but when I write
cp5.getWindow().setPositionOfTabs(x, y)
in my codeI got this error:
Can someone help me with that?? thank you!!
which controlP5 version are you using? It is printed into the console when running a sketch that uses controlP5.
thank you for your fast answer. I downloaded the ControlP5 version 2.2.5