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
New Developer
UmaVenkateswararao1200
Posts: 13
Registered: ‎04-26-2012
My Device: 9800
My Carrier: Blackberry

Finding LabelField Height Problem

If the labelfield contains only one text then that time i can get labelfield height by using  (instance of LabelField).getFont().getHeight(), but if the text has to many line then that time i cant get exact height of that field. please any one help me.

Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: Finding LabelField Height Problem

visit following links

http://supportforums.blackberry.com/t5/Java-Development/how-to-calculate-height-of-LabelField-when-i...

 

http://stackoverflow.com/questions/8000272/how-to-calculate-labelfield-and-horizontalfieldmanager-he...

 

http://supportforums.blackberry.com/t5/Java-Development/How-to-create-a-labelfield-with-fixed-width-...

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.