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

BlackBerry® OS Smartphones

New Member
Posts: 1
Registered: ‎11-24-2011
My Device: BB Curve, Torch
My Carrier: 9768209566

Problem while selecting generic font size for BB phone application development. (scale font size according to resolution of the phone)

Hello all,

I am trying to create an application which might be run on Curve and Torch.

Problem being, the font size which looks good on TOrch, doesnt look good on Curve.

I have tried finding Height and Width of the screen and accordingly calculate the required Font size.

I have been trying this application on simulator.


For torch, i tried defaultFont = 27.07 *(width/height).

same doesnt work with Curve.

is there any way to select Font size for BB applications ?

Any help will be appreciated.

thanks a lot.