BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-29-2008, 02:28 AM   #1 (permalink)
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Custom Layout

Please Login to Remove!

Hi,

I need a custom layout that have a fixed width but incremental height. Basically I want it to increase vertically depending upon the content(the text content). Till now All i am able to do is to fix both height and width. If i remove the height from the custom manager, it will use all the screen height.

Can anyone help in identifying how to get the height at runtime.

Last edited by baran_khan : 04-29-2008 at 02:55 AM.
Offline  
Old 04-29-2008, 12:58 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you get the font in use, and call [font].getHeight(), you should be able to notify your fieldManager the cumulative heights and adjust accordingly.
Offline  
Old 04-30-2008, 12:55 AM   #3 (permalink)
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply...I have sorted this problem...thanks again!!!!
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

JOHNSON CONTROLS T-4002-124 Mounting Bracket G1952785
$11.0
JOHNSON CONTROLS T-4002-124 Mounting Bracket G1952785 pictureNEW JOHNSON CONTROLS V-3000-8011 PNEUMATIC ACTUATOR
$35.0
NEW JOHNSON CONTROLS V-3000-8011 PNEUMATIC ACTUATOR pictureJOHNSON CONTROLS EP-8000-4 Johnson Transducer 4-20Ma High Volume G0650977
$159.41
JOHNSON CONTROLS EP-8000-4 Johnson Transducer 4-20Ma High Volume G0650977 pictureJOHNSON CONTROLS HSCI 1159-83-2-SS01C CONTROL BOARD *USED*
$134.95
JOHNSON CONTROLS HSCI 1159-83-2-SS01C CONTROL BOARD *USED* pictureNEW Johnson Controls P70AA-118C Head Pressure Fan Cycling Unit NIB
$54.95
NEW Johnson Controls P70AA-118C Head Pressure Fan Cycling Unit NIB picture






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