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.

inside custom component

Native Development

Reply
Developer
alopix
Posts: 416
Registered: ‎04-10-2011
My Device: Z10 LE & PlayBook
Accepted Solution

Change Divider color

From the properties of the Divider Control, there's currently no way to change it's color. Will this be added? We can change a Page's background color so this should definitely be something we need.

-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blogs /dev/alopix and /home/alopix
BBM Channel: C0047B612
BlackBerry Development Advisor
MSohm
Posts: 14,752
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Change Divider color

If you need a customer coloured divider the recommended approach is to create an image in your desired colour and use an ImageView instead of a Divider.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
alopix
Posts: 416
Registered: ‎04-10-2011
My Device: Z10 LE & PlayBook

Re: Change Divider color

So there are no plans for a simple color property?
-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blogs /dev/alopix and /home/alopix
BBM Channel: C0047B612
BlackBerry Development Advisor
MSohm
Posts: 14,752
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Change Divider color

No, nothing in the near future at this point.

 

You could submit a feature request for this using Issue Tracker and have people vote it up.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
alopix
Posts: 416
Registered: ‎04-10-2011
My Device: Z10 LE & PlayBook

Re: Change Divider color

I just created an issue: https://www.blackberry.com/jira/browse/BBTEN-90 pelase vote if you're interested in this feature :smileyhappy:
-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blogs /dev/alopix and /home/alopix
BBM Channel: C0047B612
BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer

Re: Change Divider color

I just switched the JIRA to public, so if you tried to vote for it and couldn't, please try again.

 

Stuart

Developer
alopix
Posts: 416
Registered: ‎04-10-2011
My Device: Z10 LE & PlayBook

Re: Change Divider color

Thanks - didn't know that those tickets are private by default :smileyhappy:
-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blogs /dev/alopix and /home/alopix
BBM Channel: C0047B612
New Contributor
ernsheong
Posts: 7
Registered: ‎08-13-2013
My Device: BB10 Developer

Re: Change Divider color

You could replace Divider {} with:

 Container {
    background: Color.Red
    preferredHeight: 1
    preferredWidth: 768
}