PopupMenu items textSize

@akenaton
Yes please provide code to vary text size in a menu based on a text component (box or field or other).

Regards
Peter Turner

Thank you Noel.

I have used it to rotate a globe around a square screen, but I would like to use a rectangular screen with an extra component in the lower quarter of the screen. When I do this, the globe rotates around the centre of the screen, not around the (offset) centre of the globe, creating the wrong effect.

I have tried extra parameters in the peasycam initialization, translate, cam.translate (not pushMatrix(); popMatrix(); yet) but none have the desired effect.

Is it just a matter of chosing the right offsets? I’ve tried height/2, width/2 and various fixed values.

Regards
Peter Turner