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

New Contributor
Posts: 4
Registered: ‎02-20-2013
My Device: z10
My Carrier: blackberry

blackberry 10 Native SDK Label issue

Hi All,


i am using this Native SDK do developing, now i want show one Label with maxLines = 2, but when i checked the Label property, there is only one property: "bool multiline"

 this is not satisify my request, but in the firmware i saw one "UITestApp", there has one Label item that can do this operation, see the pic below, did any one konw how to do this?




Posts: 313
Registered: ‎05-31-2010
My Device: Alpha 10, Bold 9900, Storm 9530, Tour 9630, Curve 9320, Curve 8900
My Carrier: All

Re: blackberry 10 Native SDK Label issue

I think that it is a customized controller library not the standard ones. You should implement it by yourselves.



Container {
                preferredWidth: 768
                preferredHeight: variable
                Label {
                    id: label
                    multiline: true
                    text: variable


Good good study, day day up