View Single Post
Old 12-30-2008, 07:53 AM   #6
swarsa
New Member
 
Join Date: May 2008
Model: 8330
Carrier: Sprint
Posts: 14
Default Issue resolved - finally!

Hello all, the issue has been resolved thanks to a guy with a screen name 'Shubhangi' on the RIM forum. Basically, he told me to remove the overridden layout method from my listfield subclass. He also told me to add the following 2 methods to the VerticalManager containing the list:

public int getPreferredHeight()
{
return fixedHeight;
}

protected void sublayout(int width, int height)
{
super.sublayout(width, fixedHeight);
setExtent(width, fixedHeight);
}

As well as making sure to use the styles Manager.VERTICAL_SCROLL | Manager.VERTICAL_SCROLLBAR, which I was already doing. I have posted the full solution over on the RIM forum.

Thanks for all your time on this one,
Steve
Offline   Reply With Quote