【发布时间】:2012-08-09 06:03:49
【问题描述】:
我已经创建了 LWUIT TextArea,并在我的 TextArea 中添加了文本段落,现在我想减小我的 TextArea 的字体大小,我使用了以下代码:
TextArea big = new TextArea(detailNews.getDescription());
Font createSystemFont = Font.createSystemFont(Font.FACE_SYSTEM, Font.STYLE_ITALIC, Font.SIZE_SMALL);
big.getStyle().setFont(createSystemFont);
big.setEditable(false);
form2.addComponent(big);
form2.show();
但是,为什么我不能减小文本的字体?
【问题讨论】: