×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    16

    Long strings appearing with ellipsis on the acutal phone

    Hi,

    In my app I have a list but the strings of the items of the list are too long and on the phone they are cut and appear with ellipsis (...).

    How can I solve this problem such that the items appear completely?

    Assume I have an item that is 200 characters long and that I want it to be displayed on several lines in the list. How can this be done?

    This problem may not appear in the emulator but on the phone itself.

    Thanks

    Chris

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Long strings appearing with ellipsis on the acutal phone

    The rules of List say that the implementation is allowed to do this, and is not required to show you the complete item. You can request:

    Code:
    myList.setFitPolicy(Choice.TEXT_WRAP_ON);
    But the device does not have to honour that request.

    If you need it to show more... I'm afraid you have to implement your own list. For example, use a Form with Items that have Commands attached to them, or use a Canvas and draw your own. Other alternative, use a UI library like LWUIT.

    Graham.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Long strings appearing with ellipsis on the acutal phone

    Which emulator do you use?

Similar Threads

  1. ellipsis for text-overflow not working
    By deepak.jagdish in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2011-10-18, 08:55
  2. How to use ellipsis in QListView and QLabel?
    By narendar_discover in forum Qt
    Replies: 3
    Last Post: 2011-05-13, 12:13
  3. Replies: 3
    Last Post: 2010-10-08, 13:05
  4. Uncoded graphics appearing on phone but not emulator
    By Antioch in forum Mobile Java General
    Replies: 3
    Last Post: 2010-02-18, 09:49
  5. Phone profiles appearing in the menu bar
    By Nokia_Archive in forum Symbian
    Replies: 1
    Last Post: 2002-06-03, 02:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×