Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 15
Registered: ‎07-10-2009
My Device: Not Specified
Accepted Solution

Set the height of an Object List Field

Hi All,

 

I would like to reduce the height of the ObjectListField so that it doesn't use the entire hieght of the screen.  This will allow for an 'info panel' at the bottom which gets updated when the highlighted row changes.

 

Does anyone know the best way to do this?

 

Thanks

Glen M.

Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Set the height of an Object List Field

You need to use a field Manager to lay out the list field and the "info panel" field so that the available space is split between those two according to your liking. Most likely, you'll need to implement your own Manager as this will give you precise control over how to lay out the fields.
Developer
Posts: 15
Registered: ‎07-10-2009
My Device: Not Specified

Re: Set the height of an Object List Field

Thanks for the reply.  I had tried that but was still getting the issue.  I ended up placing the info panel in the screen's status field.