Horizontal spinner ?

46 views
Skip to first unread message

kevin....@gmail.com

unread,
Nov 12, 2012, 9:51:42 AM11/12/12
to codenameone...@googlegroups.com
Hi all,

Is it possible to get a horizontal NumericSpinner  ?

I tried :

NumericSpinner ns = new NumericSpinner();
ns.setLayout(new BoxLayout(BoxLayout.X_AXIS);


but this don't work. Any suggestion ?

Thanks.

Shai Almog

unread,
Nov 12, 2012, 10:30:13 AM11/12/12
to codenameone...@googlegroups.com, kevin....@gmail.com
No it won't.
You should use a list, set it to horizontal mode and fixed center mode.

kevin....@gmail.com

unread,
Nov 14, 2012, 7:13:25 AM11/14/12
to codenameone...@googlegroups.com, kevin....@gmail.com
Thanks Shai, it work fine.
Reply all
Reply to author
Forward
0 new messages