1. paulwallace1234's Avatar
    Hi,

    I'm new to BB10 development, came from Symbian App development and having..well a bad time...

    I've got QML and a bit of QT/c++ experience but Cascades qml seems to actually baffle me how complicated the decided to make it.
    After a lot of messing about (timer stuff) I've got a label there, but the background colour of the page is white, I need it to be black for the App I'm making, does anyone know how to make it black?

    I'm importing bb cascades 1.0 btw, device running 10.2.1

    Thanks,

    Paul
    Last edited by paulwallace1234; 07-19-14 at 09:37 AM. Reason: solved
    07-19-14 09:12 AM
  2. thurask's Avatar
    You could force a dark theme in bar-descriptor.xml: https://developer.blackberry.com/nat...des/ui/themes/

    Or import bb.cascades 1.2, if you've got an OLED device/want theme select.

    Or, if it's just this one section of the app, set the background property of the container that holds everything you want on a black background.

    Container {
    background: Color.Black
    //stuff
    }

    Posted via CB10
    paulwallace1234 likes this.
    07-19-14 09:20 AM
  3. paulwallace1234's Avatar
    You could force a dark theme in bar-descriptor.xml: https://developer.blackberry.com/nat...des/ui/themes/

    Or import bb.cascades 1.2, if you've got an OLED device/want theme select.

    Or, if it's just this one section of the app, set the background property of the container that holds everything you want on a black background.

    Container {
    background: Color.Black
    //stuff
    }

    Posted via CB10
    Bingo!
    Thank you very much thurask
    07-19-14 09:36 AM

Similar Threads

  1. Replies: 37
    Last Post: 08-10-14, 02:46 PM
  2. [Article] Don?t be Fooled by Nostalgia: Running back to BlackBerry is still a Mistake
    By MiyakSk33 in forum General BlackBerry News, Discussion & Rumors
    Replies: 431
    Last Post: 07-31-14, 09:03 PM
  3. 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
  4. How to use priority hub
    By madh263362 in forum BlackBerry Z3
    Replies: 4
    Last Post: 07-19-14, 01:25 PM
  5. What you've got to look forward to when BBM lands on Lumina
    By Richard Buckley in forum General BBM Chat
    Replies: 1
    Last Post: 07-19-14, 10:16 AM
LINK TO POST COPIED TO CLIPBOARD