user1089609
user1089609

Reputation: 1

BlackBerry ListField Height Not Changing

In the ListField,If i click on selected index or focus on the selected index,i want to chane the height of the selected field automatically....

Can u help how to implement that ....

Advance thanks..

Upvotes: 0

Views: 169

Answers (2)

user1053646
user1053646

Reputation:

A ListField can only have uniform row sizes... but if you use horizontalFieldManager for the list row. you can change the size on TouchEvent by setting height of the horizontalFieldManager

Upvotes: 1

jprofitt
jprofitt

Reputation: 10974

A ListField can only have uniform row sizes, so unfortunately it won't be something as simple as changing the height of the selected row. If you're wanting it to be able to change sizes, you'll probably need to write your own. It wouldn't be too terribly difficult by just adding fields to a VerticalFieldManagerand making that scrollable, though you will need to handle selection painting, row indexing, etc.

Upvotes: 1

Related Questions