iOS Placeholder text for TextField in CN1?

38 views
Skip to first unread message

Pai Peng

unread,
Jul 26, 2013, 7:51:01 AM7/26/13
to codenameone...@googlegroups.com
Hello CN1,

another question, if I can set text as Placeholder for component TextField like iOS in CN1? How?



Thanks

Pai

Shai Almog

unread,
Jul 26, 2013, 3:07:03 PM7/26/13
to codenameone...@googlegroups.com
Hi,
its called "Hint" in Codename One and you can use either setHint or the property in the text field.

lin....@gmail.com

unread,
Mar 25, 2017, 12:17:25 AM3/25/17
to CodenameOne Discussions
Great~ this is just what I have been looking around.
Better if named "setPlaceholderText",,,
Thanks.
Reply all
Reply to author
Forward
0 new messages