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
arsenk01
Posts: 91
Registered: ‎06-21-2011
My Device: Blackberry Torch 9800
Accepted Solution

StandartTitleBar background image no scale???!!!

Hi ALL,

I just found that StandartTitleBar and want to use it,however I noticed that when you try to set background image,it's automatically scaling.

How to eliminate this?

Regards,
Arsen
Developer
johnbibs
Posts: 905
Registered: ‎02-07-2009
My Device: BlackBerry Torch 9800

Re: StandartTitleBar background image no scale???!!!

Hi arsenko1,

 

you can just set the title using a BitmapField object instead of setting it as backround image.

 

 

cheers! :smileyhappy:

 

 

Developer
arsenk01
Posts: 91
Registered: ‎06-21-2011
My Device: Blackberry Torch 9800

Re: StandartTitleBar background image no scale???!!!

OK,thanks!

I just forgort to make this post solutioned,as I found that the same thing may be done in paint method.

Regards,
Arsen