Larger font size in pickerwheel causing vertically off center text.

Hi!

I’m trying to make the text bigger in a picker wheel, but the text seems to scale from the top left hand corner, meaning that the bigger it gets, the lower it appears to be within the picker wheel. You can see in the picture that the selected item is not centered vertically. Is there any way to offset this using a hidden (or real!) widget setting?

Thanks,

Simon

bump

Hi @dev203,

I’m not aware of any way to specifically target the text element of a particular row in the picker and modify it’s Y alignment. I think you’d need to do this by adjusting the code in the open-source widget library:

https://github.com/coronalabs/framework-widget

Take care,

Brent

bump

Hi @dev203,

I’m not aware of any way to specifically target the text element of a particular row in the picker and modify it’s Y alignment. I think you’d need to do this by adjusting the code in the open-source widget library:

https://github.com/coronalabs/framework-widget

Take care,

Brent