×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    92

    Text wrap for CAknEnumeratedTextPopupSettingItem?

    Hello,

    I have a CAknEnumeratedTextPopupSettingItem that has text in the list that are getting truncated on most devices. They are ~25 chars in length. Is there any setting to enable text wrapping? Or how is this supposed to be dealt with?

    Also the list isn't aligned to the left of the screen. Is there a way to adjust position?

    Thanks!

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: Text wrap for CAknEnumeratedTextPopupSettingItem?

    S60 lists do not support warping, however there is support for marquee effect, so you can try if you can access C...ListBoxData::EnableMarqueeL (where ... can be FormattedCell or Column) of the settings item.

  3. #3
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    92

    Re: Text wrap for CAknEnumeratedTextPopupSettingItem?

    Quote Originally Posted by wizard_hu_ View Post
    S60 lists do not support warping, however there is support for marquee effect, so you can try if you can access C...ListBoxData::EnableMarqueeL (where ... can be FormattedCell or Column) of the settings item.
    Thanks wizard_hu.. doesn't look simple to do that, but I'll look into it. Just seems strange on the E51 for example, the screen isn't that wide, and the setting list has a big gap from the left side.

  4. #4
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    98

    Re: Text wrap for CAknEnumeratedTextPopupSettingItem?

    Hi, I would be also interested in the answer: is it possible to add marquee to the items CAknEnumeratedTextPopupSettingItem? Unfortunately it has little to do with list boxes (or at least I did not figure out how to access the embedded list box) Thanks!

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: Text wrap for CAknEnumeratedTextPopupSettingItem?

    I have a bad feeling that things related to setting lists do not support marquee. At least no built-in setting lists seem to use such effect (for example if you edit the shortcuts for the Idle screen, you have good chances to see some items which do not fit on the screen and they are simply truncated with '...')

  6. #6
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    98

    Re: Text wrap for CAknEnumeratedTextPopupSettingItem?

    yes, meanwhile I checked the source code and as the settings page (thus the actual listbox) is created and destroyed fully in EditItemL(), from outside you'll have no chance to modify the listbox. Maybe overriding EditItemL()... but it'd be a very long story.

Similar Threads

  1. Wrap text using drawString ?
    By artemg in forum Mobile Java General
    Replies: 6
    Last Post: 2009-06-25, 10:25
  2. Wrap text using soft return in cell on CAKnGrid
    By heuven in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-04-01, 06:46
  3. CEikListBox text wrap
    By AbuElElla in forum Symbian C++
    Replies: 2
    Last Post: 2007-02-12, 05:32
  4. Replies: 0
    Last Post: 2004-11-24, 18:49
  5. Nokia 7650 Anchor element text does not wrap
    By voxsurf in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2003-02-28, 08:53

Posting Permissions

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