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
Posts: 426
Registered: ‎04-10-2011
My Device: Z30
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 blog alopix.net
BBM Channel: C0047B612
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

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
Posts: 426
Registered: ‎04-10-2011
My Device: Z30

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 blog alopix.net
BBM Channel: C0047B612
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

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
Posts: 426
Registered: ‎04-10-2011
My Device: Z30

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 Smiley Happy
-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blog alopix.net
BBM Channel: C0047B612
Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: 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

Highlighted
Developer
Posts: 426
Registered: ‎04-10-2011
My Device: Z30

Re: Change Divider color

Thanks - didn't know that those tickets are private by default Smiley Happy
-----------------------------------------------------------------------------
Check out my apps in the BlackBerry World
Visit my developer blog alopix.net
BBM Channel: C0047B612
New Contributor
Posts: 7
Registered: ‎08-13-2013
My Device: BB10 Developer
My Carrier: N/A

Re: Change Divider color

You could replace Divider {} with:

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