10-08-2009, 11:32 AM
Join Date: Oct 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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?