×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    177

    Angry StringItem problem!

    Hey

    MIDP 2.0
    CLDC 1.1
    Nokia 6630
    WTK 25

    The code below shows 4 StringItems being added to the Form (form). When I run this in the emulator these StringItems are all aligned to the left and each StringItem appear on it's own line. Like this (where for example aaa represent an StringItem):
    aaa
    bbb
    ccc
    ddd

    But when I run this MIDlet on my nokia 6630 this form appear like this: aaabbbcccddd, I want each StringItem to appear on its own line when running on my phone

    form.append(new StringItem("Address:", address[id] ));
    form.append(new StringItem("Contact:", contact[id]));
    form.append(new StringItem("Phone:", phone[id] ));
    form.append(new StringItem("Description:", desc[id]))

    Any suggestions on how to solve this are very welcome!

    Jeff

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: StringItem problem!

    You could add Spacers between each Item, or add '\n' to the end of each string.

    shmoove

  3. #3
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    177

    Smile Re: StringItem problem!

    thanks for your reply

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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