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);
精彩评论