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
Highlighted
Developer
Posts: 188
Registered: ‎09-03-2012
My Device: Blackberry 10
Accepted Solution

Q10 ActionItem doesn't show title?

It seems like Q10 doesn't display the title on the action item anymore.

 

Is there a way around it?

 

This is a sample of how I create it.

 

ActionItem {
                title: qsTr("Test")
                imageSource: "asset:///images/test.png"
                ActionBar.placement: ActionBarPlacement.OnBar
                onTriggered: {
                    ...
                }
            }

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Q10 ActionItem doesn't show title?

It appears to be intentional, to save space. Users can long-press on the action bar and move their finger from button to button to see the text in a little overlay area that popups just above it.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 188
Registered: ‎09-03-2012
My Device: Blackberry 10

Re: Q10 ActionItem doesn't show title?

Thanks Peter.