BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 10-08-2009, 10:32 AM   #1 (permalink)
New Member
Join Date: Oct 2009
Model: 8700G
Carrier: CMCC
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about ObjectListField

Please Login to Remove!

I'm intending to implement a ListField with icon view, so I extends the ObjectListField and override the drawListRow method with drawBitmap and drawText. But now I encounter a problem: if the length of the item's text is too long, it couldn't be automatically broken into several lines, instead the exceeded part is simply invisible.

I've searched solution about this question, seemed that most suggested judge the width and length of text , and break the text manually. But I think it's too complex. Does BlackBerry provide a way to do this job automatically?
Old 10-27-2009, 01:58 AM   #2 (permalink)
Thumbs Must Hurt
Join Date: Mar 2007
Location: India
Model: 8100
Carrier: Airtel
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts

No blackberry wont provide any method do beak text automatically.
You have to beak the text manually as per width. this is the only solution
Crazy for BlackBerry

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.