开发者

Blackberry Custom LabelField

How to create a custom Label field that works similar to defau开发者_高级运维lt LabelField issues : it should be able to take large texts and should be able to display them in different lines if the length exceeds the screen width.


The existing LabelField class already displays text on a different line if the length exceeds the screen width. To increase the font size do something like this:

label.setFont(Font.getDefault().derive(Font.PLAIN, 18, Ui.UNITS_pt));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜