I am using Arial Font. If I remove the changeFont function, it becomes CENTERED VERTICALLY which is what I want. By the way, I am currently using Arial Font in my whole GUI and just noticed this issue, So I don’t want to change font until it’s the last possible way as I may have to make many adjustments.
Here is the code:
cp5= new ControlP5(this);
PFont guiBaseFont=createFont("Arial", 15); //Font for GUI controllers other than TABs (with all Large Case letters)