开发者

How to increase row height in list field dynamically in Blackberry

I am displaying list of data which is coming from web service in list field.If the list item width is with in row width it is ok.But if the text length is more the text displaying in only one line.and last text is disappearing.How to display the large text in multiple lines 开发者_JAVA百科by increasing row height in list field blackberry.

Thank You


you cannot resize the height of list field dynamically


try this

VerticalFieldManager vfm=new VerticalFieldManager();
HorizontalFieldManager hfm=new HorizontalFieldManager();
for(int i=0;i<data.length;i++)
{
hfm.add(/**ur data**/);
hfm.setMargin(top, right, bottom, left);
vfm.add(hfm);
}
this.add(vfm);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜