Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
bsmith138
Posts: 88
Registered: ‎07-11-2009
My Device: Not Specified

Variable Lines in TreeField using drawTreeItem

Is it possible to use the method drawTreeItem of TreeFieldCallback to make each tree item within a single instance of TreeField have different heights?

 

What I'm wanting to do is have the parent node be a single line but the child node having 2 lines.

 

Any source code would be greatly appreciated. 

Developer
bsmith138
Posts: 88
Registered: ‎07-11-2009
My Device: Not Specified

Re: Variable Lines in TreeField using drawTreeItem

If it's not possible to use the drawTreeFieldRow method then does it mean I will have to inherit from TreeField?