×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    217

    How to wrap text in settinglist text editor

    Hi,

    I tried settinglist example by Nokia. In text editor window (first setting item) text is not wrapped to new line. It continue typing in to same line similar to notepad in windows.

    I want to see the same behaviour as in Nokia Applications. For example Tools->Settings->Phone->Call Settings->Message Text.

    Text appears in new line as soon as first line of editor window is filled.

    Any help is appreciated.

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

    Re: How to wrap text in settinglist text editor

    You can experiment with Carbide's UI designer.

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: How to wrap text in settinglist text editor

    Which device are you seeing this on? What you are describing is not the default behviour for the message text.
    The CAknTextSettingItem does not support multiple lines when in a listbox, in fact the only one that does is a CAknForm when in edit mode
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  4. #4
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    217

    Re: How to wrap text in settinglist text editor

    Hi Paul,

    Which device are you seeing this on?
    I am seeing it on N95. Call Settings seems to be implemented as setting list.

  5. #5
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: How to wrap text in settinglist text editor

    I misunderstood the original question.

    Change the definition of the editor control (ie RESOURCE EDWIN structure) and specify what you want.

    In this case specify the number of lines and set flags = EEikEdwinNoLineOrParaBreaks | EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  6. #6
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    217

    Re: How to wrap text in settinglist text editor

    Thanks Paul,

    It worked perfect. Thanks for your help.

    Best Regards
    Vipin

Similar Threads

  1. how get the text from rich text editor in the dialog
    By manjunaths in forum Symbian User Interface
    Replies: 4
    Last Post: 2010-12-01, 13:14
  2. Wrap text using drawString ?
    By artemg in forum Mobile Java General
    Replies: 6
    Last Post: 2009-06-25, 10:25
  3. Rich Text Editor and Dialog
    By sakhya in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-04-28, 17:08
  4. Replies: 0
    Last Post: 2004-11-24, 18:49

Posting Permissions

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