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
Contributor
Posts: 16
Registered: ‎02-24-2012
My Device: 8520
My Carrier: Turkcell

Object Choice Field on 7.0

Hello everybody.

 

I need to getPreferredHeight of an ObjectChoiceField.

 

On 4.7 (9800 simulator) there is no problem, I can get the correct height of the field (Which is 41)

 

But on 7.0 (9900 simulator)  , I get 27 althought the actual height of the field is 53 or 54. (I believe 27 is the height of the font og ObjectChoiceField)

 

Does anybody know anything abbout this? I also get the same issue while getting preferredWidth. Thanks in advance,

 

Onur.