Word-wrapping label

4 posts / 0 new
Last post
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Word-wrapping label

Does anyone have a word-wrapping label control/class? I want to dump a load of text onto the screen with confidence that it is going to format properly on a target device.

Thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Fredrik Eldh
Fredrik's picture
Offline
Mobile Sorcerer
Joined: 16 Feb 2009
Posts:

Our UI library, which is still incomplete and will be available in a future version of MoSync, has a word-wrapping label widget.

For now, you'll have to implement word-wrapping yourself using the syscalls maGetScrSize(), maGetTextSize() and maDrawText(). Refer to the documentation for details.

Jahirul Islam
jewel03cse's picture
Offline
Joined: 7 Jan 2011
Posts:

I need a Label class which doesn't use a MAUI font, but instead uses the native draw methods for text (maDrawText). Actually, I want to set some unicode charaters in Label.

If this Label class has already been developed, please give the link.
thanks

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

I found the link to the widgets with native drawing methods

http://www.mosync.com/content/madrawtextw