×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    21

    Newline on Form screen

    I am working on Nokia 3650/7650 and 7210. I have a form on which I use the append method to display text (About Screen). I notice that the 3650/7650s displays all the text in a single line (without carriage return), where as 7210 displays everything in new line everytime append is called. 7210 is compatible with non-Nokia devices such as iDEN, Blackberry and Sony Ericsson P800. I want 3650/7650 to behave the same way.

    If I append "\n" at the end of append() call, other devices (Blackberry, SE P800) display additional carriage returns between lines. And the 3650/7650 display text properly formatted.

    Replacing "\n" with "\r" doesnt help. The 3650/7650 displays a square wherever I put a "\r".

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Austria
    Posts
    86
    Hi!

    To force a new line between 2 items you can add the following line:
    mForm.append(new ImageItem("",null,ImageItem.LAYOUT_NEWLINE_AFTER,null));

    I hope this helps

    McMc

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    21
    This approach puts many additional carriage returns to the form screen on other devices (iDEN, SE P800 etc). Though, with Nokia Series 60, the appearance is good.

    I want an approach that works for all devices to avoid making different builds for different platforms.

    Take care,

    -Nachiket

Posting Permissions

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