Skip to main content

How to enable tickering with TextField's ?

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-05-18

Hi all,

I want that when the length of the text of a TextField is larger than the TextField s preferredWidth then the TextField should ticker. How to achieve that ?

Thank you very much

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-11-07

LWUIT doesn't support tickering text fields since we aren't aware of any popular platform that does that (we only ticker labels).

You can implement text field tickering in the same way we implemented label tickering by overriding paint and drawing the text field yourself while shifting the text drawing position based on animate state. You can look at the source code for