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

Adobe AIR Development

Reply
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

BB10: DropDown justification

In the new BB10 DropDown control, the labels are right justified and left justified in the drop down list.  How can the button view justification be changed?  There is nothing in the API / docs that indicate that this can be done.

Please use plain text.
BlackBerry Development Advisor (Retired)
dmalik
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: BB10: DropDown justification

Hi,

 

I just had a look through the API docs and it doesnt appear that you can change it. I assume this is to make it so that any application that uses a DropDown, regardless of the language they're using, looks the same to keep a consistent UI. In the Cascades docs it says this: "When the DropDown is expanded, a list of options is shown. The options currently only consist of a title. In future versions, a description and image will also be shown.". So it does seem that updates will be coming. 

 

Dustin

 

 

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10: DropDown justification

Thanks. Will enter a bug for it. It also seems to clip the text (fade out) when there is plenty of space to show the whole text.
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10: DropDown justification

For those that might want to vote on this to allow control over how the drop down justification should work:

https://www.blackberry.com/jira/browse/BBTEN-58
Please use plain text.
Developer
jetstreamblue
Posts: 121
Registered: ‎01-21-2011
My Device: Z10 LE #00055
My Carrier: Telus

Re: BB10: DropDown justification

On a similar topic, is it possible to change DropDown font sizes in the new BB10 SDK?

VENTURCON
For BB10: e-Mmanuel Bible Reader, e-Mmanuel Audio Bible, PM Assist
For PlayBook: e-Mmanuel Bible Reader, Business Analysis Toolbox
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10: DropDown justification

You can set the skin of the control. You will also have the ability to set things like this in the CSS defintion for the app, but the attributes to do this have not been published.
Please use plain text.