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
Trusted Contributor
itcraps
Posts: 229
Registered: ‎12-26-2010
My Carrier: Telus
Accepted Solution

Changing Color of TitleBar

Hi, is there any way to change the TitleBar color via QML? I want to achive gradient color titlebar, pretty much like Twitter or Foursquare..

 

Thanks a bunchhhhhhhhhhhhhhhhhhhh

www.jackdevora.com
Please use plain text.
Developer
greenback
Posts: 448
Registered: ‎10-17-2010

Re: Changing Color of TitleBar

[ Edited ]

EIther FourSquare/Facebook is using a newer version of the SDK which enables visual control of the TitleBar Cascades component (since current implementation does not allow for customizations beyond properties specified in the docs) or, the most likely scenario, they are making their own custom "TitleBar" using a combination of the following components.

 

Container{}

ImageVIew{}

ImageButton{}

ImagePaint{}

Label{}



And let's say you have a custom spinner or animation you want to play when your user interacts in someway with your custom TitleBar. You would use animations[] handler attached to an ImageView{} component

RotateTransition{}
https://developer.blackberry.com/cascades/reference/bb__cascades__rotatetransition.html


That is how you basically would make the custom view. 
This would be a great post for The Cascades Blog™

:Rockon:

Please use plain text.
Developer
ekke
Posts: 909
Registered: ‎04-08-2010
My Carrier: vodafone

Re: Changing Color of TitleBar

there's already an Issue reported by me, please vote for BBTEN-207

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: https://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.
Trusted Contributor
itcraps
Posts: 229
Registered: ‎12-26-2010
My Carrier: Telus

Re: Changing Color of TitleBar

Cool. Thanks!!!!

www.jackdevora.com
Please use plain text.
New Contributor
bunny1985
Posts: 8
Registered: ‎11-13-2012
My Carrier: freelancer

Re: Changing Color of TitleBar

i'm guesing that they are not uing cascades.

Changing titlebar is easy task in bbui and thats how its look like for me 

Please use plain text.