1. paulwallace1234's Avatar
    As said in the Title, bloody hope so.
    Thanks in advance.
    10-26-14 10:11 AM
  2. howarmat's Avatar
    The font setting affects all fonts as far as I know. Labels included
    10-26-14 10:14 AM
  3. RodgerLeblanc's Avatar
    If you set a font size to a label, it's not affected. If there's no font size set for a label, then it's the system font size that is applied. Here's code to set font size in a label :
    textStyle.fontSize: FontSize.PointValue
    textStyle.fontSizeValue: 8
    10-26-14 02:44 PM
  4. paulwallace1234's Avatar
    If you set a font size to a label, it's not affected. If there's no font size set for a label, then it's the system font size that is applied. Here's code to set font size in a label :
    textStyle.fontSize: FontSize.PointValue
    textStyle.fontSizeValue: 8
    Here's the thing, I set them for all my Labels on the main screen, I think, still massively scales upwards.

    Guess that was what was causing my 10.3 tester issue earlier.

    Like this: textStyle{
    fontWeight:// setting stuff
    fontSize: FontSize.PercentageValue
    fontSizeValue: 250
    base: SystemDefaults.TextStyles.BigText
    color: Color.create(colour)
    }
    10-26-14 02:49 PM
  5. RodgerLeblanc's Avatar
    Use FontSize.PointValue instead of FontSize.PercentageValue. Here's what the docs says about PercentageValue :

    PercentageValue 2
    Indicates that a percentage of the parent style element's size should be used.

    This setting must be used in combination with the fontSizeValue property on the TextStyle. If there is no parent element, the size will be in relation to the system default size, which typically matches the logical size of Medium.
    paulwallace1234 likes this.
    10-26-14 03:46 PM
  6. paulwallace1234's Avatar
    Use FontSize.PointValue instead of FontSize.PercentageValue. Here's what the docs says about PercentageValue :

    PercentageValue 2
    Indicates that a percentage of the parent style element's size should be used.

    This setting must be used in combination with the fontSizeValue property on the TextStyle. If there is no parent element, the size will be in relation to the system default size, which typically matches the logical size of Medium.
    I feel like an ***** now, Cheers Rodger.
    10-28-14 05:31 AM
  7. RodgerLeblanc's Avatar
    Lol, no need to! Is this for the clock app you've shared screenshots in the past?
    10-28-14 05:38 AM
  8. paulwallace1234's Avatar
    Lol, no need to! Is this for the clock app you've shared screenshots in the past?
    It is for Nightly Clock, yes.
    10-28-14 08:39 AM

Similar Threads

  1. Using Z10 to play music onto radio via AUX jack.
    By jt597 in forum BlackBerry Z10
    Replies: 15
    Last Post: 10-27-14, 07:49 PM
  2. Why isn't my BB Playbook turning on?
    By CrackBerry Question in forum Ask a Question
    Replies: 1
    Last Post: 10-26-14, 11:15 AM
  3. Replies: 1
    Last Post: 10-26-14, 10:03 AM
  4. Can anyone help me get my BB 9900 to turn on?
    By CrackBerry Question in forum Ask a Question
    Replies: 1
    Last Post: 10-26-14, 09:28 AM
LINK TO POST COPIED TO CLIPBOARD