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

Adobe AIR Development

Reply
New Contributor
liangbf
Posts: 9
Registered: ‎12-15-2010
My Device: Not Specified

qnx.ui.buttons.CheckBox issue

hello everyone,

          Do you find that the checkbox control has some issue now.when i selected,the text hide.is the image.2.jpg1.jpg

I don't set any attribute for it.my code is:

var passwordcb:CheckBox=new CheckBox();

passwordcb.label="Save password";

passwordcb.width=150;

 

Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: qnx.ui.buttons.CheckBox issue

Hey liangbf,

From the looks of it the text is probably changing to a white color and blending in with the background. Try changing the selected state format color to black or change the application background to a different color like red and see if the text shows up.

Also wat sdk are u using? Seems to be the older one. Don't think that'd be the issue but thought I'd ask. Good luck!
J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.