SpinnerRendererFocus font styling

29 views
Skip to first unread message

timg...@gmail.com

unread,
Nov 13, 2013, 2:39:02 AM11/13/13
to codenameone...@googlegroups.com
Hi

Ii'm trying to style the spinner renderer, especially for the higher resolution Android phones. SpinnerRenderer styles correctly with the font size incrementing to a readable level.

However, SpinnerRendererFocus is not incrementing the font size, leaving an impossibly small font to read on the spinner in Android.  The background, though not foreground, colour is updating correctly on SpinnerRendererFocus.

Regards

Tim


Shai Almog

unread,
Nov 13, 2013, 1:34:06 PM11/13/13
to codenameone...@googlegroups.com, timg...@gmail.com
Hi,
as an alternative (assuming you are using date/time spinners) check out the new Picker class: http://www.codenameone.com/3/post/2013/11/spinning-natively-and-windows-bug.html
Its out in today's release.

You need to edit both the selected version of the UIID's and the unselected version.

timg...@gmail.com

unread,
Nov 14, 2013, 2:59:28 AM11/14/13
to codenameone...@googlegroups.com, timg...@gmail.com
Thanks Shai!

Yes they are time and date spinners. Let me update and try it out.
Reply all
Reply to author
Forward
0 new messages