Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Choice Group fit policy

 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using the following code:



The first choice appears like this on my mobile:

aaaaaaaaaaaaa...

So that the whole content does not appear! Why is that? I have used the fit policy to make it wrap but it's not! What must I do?

Thanks,
 
Walter Gabrielsen Iii
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ran your code through the Java ME SDK 3.0, and it wrapped in the emulator but it took three lines.

The Implementation may limit the maximum number of lines that it will actually present.

Perhaps your phone scrolls the text in ChoiceGroup horizontally when it is selected instead of wrapping it? It may be hard to tell with the characters all being "a."
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!