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

New Developer
Posts: 45
Registered: ‎08-16-2008
My Device: Torch 9800, Bold 9700, Storm 9550, Curve 8520
My Carrier: Airtel

center Image

Hi all,


How to center align a image and I have placed two labels on the screen top and bottom of the image, I am able to see only the top label but not the bottom one.


How can we make use of the scroll button, it show that we can scroll the screen to the bottom but does not works.


Please suggest me how we can do it.




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

Re: center Image

The screen will only scroll to Fields that are focusable.  In your case, you have used LabelField which I believe by default is not focusable.  So you can't scroll down because there is nothing to scroll down too.


So make the LabelField focusable, or add a focusable NullField after your image.


However I suspect you really want to 'scroll' your image.  Search round the forums here, and the KB - I believe there is a KB article and several posts which describe how to do this.