The box label is white when selected and black when not!

Do you feel also that?

When you create and add a checkbox in the display list (without changing the any of format settings), its label changes color when the selection/deselection it.

Bug or feature?

In addition, the police of the components is a weird serif... And it's ugly. Do you have it?

Help: example of class with a white label for all States:

package compo {
    import flash.text.TextFormat;

    import qnx.ui.buttons.CheckBox;
    import qnx.ui.skins.SkinStates;

    public class WhiteCheckBox extends CheckBox {
        public function WhiteCheckBox() {
            super();
            var f:TextFormat=new TextFormat();
            f.color=0xffffff;
            setTextFormatForState(f, SkinStates.UP);
        }
    }
}

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for