hi..
In my application, a form contains a choice group.In that items of the choicegroup extending the screen size.how to display that in multiline?In 6600nokia mobile it is showing like '...'.
please help me.
Thanks and regards
reshmy
hi..
In my application, a form contains a choice group.In that items of the choicegroup extending the screen size.how to display that in multiline?In 6600nokia mobile it is showing like '...'.
please help me.
Thanks and regards
reshmy
Hi reshmy,
you can use ChoiceGroup setFitPolicy() method, passing to it Choice.TEXT_WRAP_ON as argument. Anyway, as stated on its JavaDocs:
So real implementation is not guaranteed to respect the chosen policy, and you can end up having the effect (no wrap at all) you described.Fit policy is a hint, and the implementation may disregard the application's preferred policy.
A possible solution is to write your own ChoiceGroup implementation (e.g.: using CustomItem) or, if your Form only contains the mentioned ChoiceGroup, switch to a List displayable (if I remember well, It should wrap text on first S60 phones).
Pit