Blackberry - Setting LabelField background color

前端 未结 2 701
独厮守ぢ
独厮守ぢ 2020-12-17 05:19

I want to place several LabelFields with right-aligned text on a MainScreen with an alice blue background. Unfortunately I can\'t seem to figure out how to make that happen

2条回答
  •  时光说笑
    2020-12-17 05:52

    Use

    new LabelField("",LabelField.USE_ALL_WIDTH | DrawStyle.RIGHT);
    

    without overriding the paint method of the LabelField.

提交回复
热议问题