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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
jobincantony
Posts: 26
Registered: ‎08-04-2008

Re: How can set the background color for status bar?

[ Edited ]
Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: How can set the background color for status bar?

Am I correct to assume you are adding your custom LabelField to the status area of a MainScreen?  What BlackBerry model and handheld software version are you testing with?  You can find this under Options, About on the BlackBerry.

 

I tried setting the status to contain a long string in a LabelField with the same styles (LabelField.USE_ALL_WIDTH|LabelField.FIELD_HCENTER|LabelField.HCENTER|LabelField.USE_ALL_HEIGHT) and the text did wrap.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
jobincantony
Posts: 26
Registered: ‎08-04-2008

Re: How can set the background color for status bar?

Yes.

 

I am using blackberry 8800 v 4.2.1.79(platform 2.3.0.74).

 

Actually i am using the same customfield in 5 screens of my application as status field by adding  custom LabelField to the status area of a MainScreen. 

 

It is working fine in 3 screens and it has problems in 2 screens.

 

Also the screen with this problem is changes with invokation.

 

 

Please use plain text.
New Developer
BBDev
Posts: 20
Registered: ‎07-17-2008

Re: How can set the background color for status bar?

I am facing same problem with one specific string , which have "%40" like:

 

"BBDev.Delhi%yahoo.com@yahoo.xyz.com".

 

I am using 4.1 OS and 7290 device model.

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: How can set the background color for status bar?

Your custom manager may not be providing the LabelField with enough space to draw all of its text (not enough space to use 2 rows).  This could result in the text being truncated.

 

I recommend stepping through your application to see what layout values are being used in your custom manager.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.