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: 293
Registered: ‎02-25-2009
My Device: Not Specified
Accepted Solution

how to set height of listfield ?

can anybody tell me , how to set height of listfield ? i need to add fixed height footer after it.

 

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: how to set height of listfield ?

I presume you want the footer fixed at the bottom regardless of how many rows there are in the ListField and regardless of how much you scroll it.

 

What you want to do is possible, but it is easier to use MainScreen and add your footer using setStatus().

Highlighted
Developer
Posts: 432
Registered: ‎02-23-2009
My Device: Not Specified

Re: how to set height of listfield ?

You can use layout(int w, int h) method of ListField class to set height of your ListField.

 


Press the kudos button to thank the user who helped you.

If your problem was get solved then please mark the thread as "Accepted solution".

 

 

Deepesh Gupta
Developer
Posts: 293
Registered: ‎02-25-2009
My Device: Not Specified

Re: how to set height of listfield ?

Got it thanks.