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: 163
Registered: ‎12-06-2012
My Device: Z10, Q10
My Carrier: BlackBerry
Accepted Solution

Q10 device doesn't show tab's title

Hi. This is my code for the tab's

tabbedPane = new TabbedPane;
    tabbedPane->setShowTabsOnActionBar(true);
    durationFlashText= durationStrobeText = frequencyText = NULL;

    flashLightTab = Tab::create().title(QString("Flash Light"));
    tabbedPane->add(flashLightTab);

    strobeTab = Tab::create().title(QString("Stroboscope"));
    tabbedPane->add(strobeTab);
    tabbedPane->setActiveTab(flashLightTab);

But the ttitle"Flash Light" and "Stroboscope" doesn't show up on the screen. Only the default icon of the tab which is a wheel shows up. But in z10 it works fine!

Developer
Posts: 180
Registered: ‎12-09-2011
My Device: 9360, BB10
My Carrier: Aircel

Re: Q10 device doesn't show tab's title

In Q10 device for tabs it not show the title of the tab like Z10.

 

If you want to see the title in Q10 device long press the tab then title will appear at the top of the tab.

Developer
Posts: 180
Registered: ‎12-09-2011
My Device: 9360, BB10
My Carrier: Aircel

Re: Q10 device doesn't show tab's title