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
Contributor
mohitbb
Posts: 39
Registered: ‎11-16-2010
My Device: 9800
Accepted Solution

Not able to set my apps title in centre

Hi,

                    I m trying to put my app's tilte in the center of  the screen. Can any one have any suggestion for this????

 

Thanks,

mohit

Developer
dx22
Posts: 402
Registered: ‎11-26-2010
My Device: Torch

Re: Not able to set my apps title in centre

Try this:

 

setTitle(new LabelField("YourTitle", Field.FIELD_HCENTER | Field.NON_FOCUSABLE));

 

 

 

----------------------------------------------------------------------
Press the button to give kudos if I helped you :smileyhappy: