×

Discussion Board

Results 1 to 1 of 1

Threaded View

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    8

    custom item layout on series 40 - midp 2.0 emulator

    I'm trying to display a form with 4 custom items.
    I'm creating them in the correct size so a 2 of them can be displayed in the same row.

    upon running the midlet in a series 60 emulator I'm getting:
    X X
    X X

    when running the same code with the series 40 emulator (nokia 6230), I'm getting:
    X
    X
    X
    X

    the code calculates the size according to the getWidth method so the width is not hard-coded.

    ok. it worked now. I just had to add: setLayout(Item.LAYOUT_2).
    Last edited by slaifer; 2003-12-28 at 08:54.

Posting Permissions

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