×

Discussion Board

Results 1 to 2 of 2

Thread: Multiline

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    29

    Multiline

    hi..
    In my application, a form contains a choice group.In that items of the choicegroup extending the screen size.how to display that in multiline?In 6600nokia mobile it is showing like '...'.
    please help me.

    Thanks and regards
    reshmy

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Multiline

    Hi reshmy,

    you can use ChoiceGroup setFitPolicy() method, passing to it Choice.TEXT_WRAP_ON as argument. Anyway, as stated on its JavaDocs:
    Fit policy is a hint, and the implementation may disregard the application's preferred policy.
    So real implementation is not guaranteed to respect the chosen policy, and you can end up having the effect (no wrap at all) you described.

    A possible solution is to write your own ChoiceGroup implementation (e.g.: using CustomItem) or, if your Form only contains the mentioned ChoiceGroup, switch to a List displayable (if I remember well, It should wrap text on first S60 phones).

    Pit

Similar Threads

  1. Multiline Text Viewer in S60 Second Edition
    By omerkarim in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-11-07, 09:03
  2. How to draw multiline text?
    By SamoylovBoris in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-05-18, 15:44
  3. Multiline Query in 3rd edition sdk
    By parag_purkar in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-09-26, 03:54
  4. HOW TO: Decrease line gap in Multiline Edwin
    By chishti.hameed in forum Symbian User Interface
    Replies: 8
    Last Post: 2005-06-24, 08:56
  5. Replies: 2
    Last Post: 2005-06-01, 07: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
  •  
×