If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.


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

Native Development

Posts: 697
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later
Accepted Solution

specify a text fontsize

Label {
                                text: "Login"
                                textStyle {
                                    base: SystemDefaults.TextStyles.TitleText
                                    textAlign: TextAlign.Center
                                    color: Color.Black



how can i make a text smaller or larger..specify  font size?


i tried fontsizevalue and whatever value i gave..it gave same result

Please use plain text.
Posts: 6,015
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: specify a text fontsize

It's advised not to use a specific fontsize unless absolutely neccessary instead use one of the system defined styles.


Take a look here to understand more about controlling font size and style...



If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.