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: 813
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

Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
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. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.