Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
12-23-2010 04:31 PM
I am trying to create a list of items using qnx.ui.listClasses.List . I have a customCelleRenderer that extends CellRenderer. I have a background image whose height is 110 pixels. Currently I have 4 items in the list. When I execute my application, all four items show up but when I trace the height of the CustomCellRenderer it shows as 47 pixels.
Is this the minimum height of the CellRenderer? How do I make it so that my height of each cell is 110 pixels?
I am new to qnx components. Please help. Thanks.
Solved! Go to Solution.
12-23-2010 04:37 PM
Lists and cell renderers are a tough to crack but we've been at it trying to figure it out. From the looks of we must apply the height to the List object via the List.rowHeight property in the main class (or which ever class you initiate the List object). by doing that you would be changing the heights of all the cells. the draw back though is waterver height you set it at will be the height for all the cells. but since it wont be a problem for you it works out.
here's more info about the property:
hope that helps. good luck!
12-23-2010 04:53 PM
haha! any time! if saving the day is what you're into there are a ton of heroes on this forum!
(alright that was cheesy but i couldn't resist.. welcome to the forums anyway )
12-23-2010 05:19 PM
Yea the reason is I have a demo that I need to do it on Tuesday. So these small things (that are big for me atleast) are like the A priority in my list that needs to be fixed by Monday and have them tested. So you are the hero for me.