How can you move tabs?

Hi @Vadimkuzmin,

You can only move the whole tab group (ControlWindow) to a different position.
you can test by adding ie.

void mousePressed() {
  if (mouseButton == RIGHT)
    cp5.getTab("default").getWindow().setPositionOfTabs(mouseX,mouseY);
}

the above moves the (invisible) ControlWindow upper/left for the Tabs to mouseX/mouseY on pressing right mouse button.

Cheers
— mnse

1 Like