BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-24-2008, 02:28 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2008
Model: 8100
PIN: N/A
Carrier: do not know
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Red face make a custom TreeField

Please Login to Remove!

I want to create a custom TreeField which can provide different row height,that is, for the root node it takes one row height(for instance 20 pixels) and for the child node it takes two row height(for instance 40 pixels). But as far as I know,there is no such way to make this component extends from TreeField. Does anyone has a good idea?
Offline  
Old 08-25-2008, 05:24 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2008
Model: 8100
PIN: N/A
Carrier: do not know
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

From the RIM device java library I find the interface "VariableRowHeightProvider ",but I have no idea of how to implement it and I have not found any instruction about it neither. Does anyone knows it?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.