开发者

How to add wordwrap for ChoiceElement in the ChoiceGroup while developing GUI using Java ME?

While developing GUI using Java ME- I get the wordwrap for the text being shown on ChoiceGroup, but the text on the Ch开发者_如何学GooiceElement doesn't get shifted to the new line if the length of the text exceeds the size of screen. How can we get the wordwrap for the text being shown on the ChoiceElement?


choiceGroup = new ChoiceGroup("choiceGroup", Choice.MULTIPLE);
choiceGroup.append("A long text that needs text wrapping", null);
choiceGroup.setFitPolicy(Choice.TEXT_WRAP_ON);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜