×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    50

    ContainerList Cell Selection

    I have an app using LWUIT for Series 40.

    In this app, I use a ContainerList. I've noticed that when I click on an element, the cell appears to jostle around a little bit. It looks like some of the margins on the cell increase.

    I figured this had something to do with the SelectedStyle of the cell, but changes to values for that didn't seem to make a difference. How can I keep the layout of the cell from changing when it selected?
    Last edited by james.harpe; 2013-10-01 at 19:09.

  2. #2
    Registered User
    Join Date
    Sep 2013
    Posts
    50

    Re: ContainerList Cell Selection

    I've also noticed that this only seems to happen on ContainerList, List does not seem to behave the same way.

  3. #3
    Registered User
    Join Date
    Mar 2013
    Location
    Nasik, India
    Posts
    21

    Re: ContainerList Cell Selection

    Hi James.

    It must be because of margin & padding styles of the components.
    Make sure to apply same margin & padding for the component in 3 states. (selected, Unselected, Pressed)

    Vishal

Similar Threads

  1. ContainerList: How to detect/skip initial calls to getCellRendererComponent
    By james.harpe in forum Mobile Java UI and User Experience
    Replies: 10
    Last Post: 2013-10-16, 22:17
  2. ContainerList problems
    By james.harpe in forum Mobile Java UI and User Experience
    Replies: 13
    Last Post: 2013-10-10, 16:05
  3. Replies: 3
    Last Post: 2009-06-09, 16:25
  4. Cell Id, cell information, cell string...
    By maclun123 in forum Symbian
    Replies: 1
    Last Post: 2009-03-12, 09:53
  5. Replies: 0
    Last Post: 2008-11-10, 11:32

Posting Permissions

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