Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User xmenus's Avatar
    Join Date
    Jul 2010
    Posts
    22
    Hi everyone
    Is there any method to wrap text of list if it is longer than mobile screen.
    For example if i have something like this

    HTML Code:
    com.sun.lwuit.List;
    
    List list = new List();
    list.addItem("long text long text long text long text");
    How to make it to go in the next line if it is longer than screen !

  2. #2
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    AFAIK there is no inbuilt methods for the same.

    You should have a search over the web and if I remember correctly then you should have to write your own word wrap.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Registered User xmenus's Avatar
    Join Date
    Jul 2010
    Posts
    22
    Yes it's true it's needable to implements listcellrenderer interface.
    Thanks at all.

Similar Threads

  1. Image in a LWUIT list
    By HasithaRandika in forum Mobile Java General
    Replies: 7
    Last Post: 2011-06-06, 14:26
  2. problem with LWUIT list scoller
    By dr.dream in forum Mobile Java General
    Replies: 9
    Last Post: 2010-04-21, 20:15
  3. LWUIT List
    By HasithaRandika in forum Mobile Java General
    Replies: 1
    Last Post: 2009-10-31, 14:21
  4. LWUIT List heigth
    By stanleek in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2009-05-27, 11:39
  5. LWUIT List
    By HasithaRandika in forum Mobile Java General
    Replies: 1
    Last Post: 2009-02-26, 10:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved