1. paulwallace1234's Avatar
    So, I wanted to create a Night Clock App, with a big Clock ect, and just found the Text sizes cascades allows, and nearly had a little cry.
    XXLarge is tiny, completely useless, I tried using html font size but that give "expecting RBRACE" error, I wanted to use Qt Quick originally but had to jump to Cascades since I couldn't stop the screen turning off when using QApplication, tried adding the native code but was kind of a lost cause, I'm guessing since Cascades is built on Qt.
    The built in Clock App has large text like I need(well bigger the better really), same with the Lockscreen so there must be a way to do it, anyone care to share how? If publicly possible that is?

    importing cascades 1.2 btw

    Thanks
    07-19-14 10:40 AM
  2. thurask's Avatar
    Label {
    id: yourLabel
    text: "some text"
    textStyle {
    base: SystemDefaults.TextStyles.(look here: http://developer.blackberry.com/nati...extstyles.html)
    fontSize: FontSize.PercentageValue
    fontSizeValue: 200 //200% of base
    }
    }

    Posted via CB10
    Last edited by thurask; 07-19-14 at 11:10 AM.
    paulwallace1234 likes this.
    07-19-14 10:54 AM
  3. paulwallace1234's Avatar
    Label {
    id: yourLabel
    text: "some text"
    textStyle {
    base: SystemDefaults.TextStyles.(look here: TextStyles - BlackBerry Native)
    fontSize: FontSize.PercentageValue
    fontSizeValue: 200 //200% of base
    }
    }

    Posted via CB10
    Bingo, thanks again.
    07-19-14 11:54 AM

Similar Threads

  1. Any one getting OTA VZW 3253 on their Q10?
    By MGO in forum BlackBerry Q10
    Replies: 11
    Last Post: 07-23-14, 10:48 AM
  2. BBM From Q10 to Z30 with same BB ID
    By texn884 in forum BlackBerry Z30
    Replies: 8
    Last Post: 07-21-14, 08:25 PM
  3. Replies: 10
    Last Post: 07-20-14, 03:28 PM
  4. Is there any way
    By Vics111 in forum BlackBerry Z10
    Replies: 4
    Last Post: 07-19-14, 11:01 AM
  5. Page Background colour, how the heck to change it from white?
    By paulwallace1234 in forum Developers Lounge
    Replies: 2
    Last Post: 07-19-14, 09:36 AM
LINK TO POST COPIED TO CLIPBOARD