Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
smartek
Posts: 274
Registered: ‎05-31-2012
My Carrier: o2
Accepted Solution

possible to set theme to Bright/Dark manually in qml?

is it possible to set the theme to Bright/Dark manually in qml?

Plase "+Like" my post if it was helpful.
Please use plain text.
Developer
peter9477
Posts: 5,636
Registered: ‎12-08-2010
My Carrier: none

Re: possible to set theme to Bright/Dark manually in qml?

I believe it's not currently possible, but note that they are considering ways to "theme" Cascades. The initial approach may be little more than some color customization, but I would sort of expect that once they have even that in place it will be possible to adjust it programmatically.

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
Ebscer
Posts: 734
Registered: ‎08-31-2009
My Carrier: Verizon

Re: possible to set theme to Bright/Dark manually in qml?

As far as I know this can only be set on an app-wide basis in the xml...


Read my thoughts on BlackBerry Development at news.ebscer.com
Please use plain text.
Developer
smartek
Posts: 274
Registered: ‎05-31-2012
My Carrier: o2

Re: possible to set theme to Bright/Dark manually in qml?


Ebscer wrote:

As far as I know this can only be set on an app-wide basis in the xml...


do you know how exactly?

Plase "+Like" my post if it was helpful.
Please use plain text.
Developer
peter9477
Posts: 5,636
Registered: ‎12-08-2010
My Carrier: none

Re: possible to set theme to Bright/Dark manually in qml?

I think he's just referring to doing this: http://supportforums.blackberry.com/t5/Cascades-Development/Are-the-components-appearance-customizab...

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
peter9477
Posts: 5,636
Registered: ‎12-08-2010
My Carrier: none

Re: possible to set theme to Bright/Dark manually in qml?

I stumbled over a reference that confirms what I originally said, and gives us a place to "watch" for changes in the status of support for programmatic theme changes: https://developer.blackberry.com/cascades/reference/bb__cascades__themesupport.html

Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.