# PopupMenu items textSize

**URL:** https://discourse.processing.org/t/popupmenu-items-textsize/26111
**Category:** Processing for Android
**Created:** [December 10, 2020, 12:36pm UTC](https://discourse.processing.org/t/popupmenu-items-textsize/26111 "2020-12-10T12:36:50Z")
**Posts on this page:** 2
**Page:** 3

<div class="post-metadata">

### Author: ![paturn](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@paturn](https://discourse.processing.org/u/paturn)
#### Post date: [January 6, 2021, 8:50pm UTC](https://discourse.processing.org/t/popupmenu-items-textsize/26111/41 "2021-01-06T20:50:14Z")

</div>

@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

---

<div class="post-metadata">

### Author: ![paturn](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@paturn](https://discourse.processing.org/u/paturn)
#### Post date: [January 7, 2021, 12:23pm UTC](https://discourse.processing.org/t/popupmenu-items-textsize/26111/42 "2021-01-07T12:23:28Z")

</div>

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

[Previous page](https://discourse.processing.org/t/popupmenu-items-textsize/26111.md?page=2)
