Yes, but it's convoluted! (Please, if there is an easier way to do this,
I'd be interested!)

TabNavigator has a TabBar, which uses the Tab class to create its
navigation items.

 

You'd have to subclass Tab to create a version which included a button
with 2 lines of text (That particular piece of info should be easy to
find these days)

You then have to subclass TabBar to set navItemFactory to the subclass
of Tab

Then subclass TabNavigator to get the tabBar to be your subclassed
TabBar rather than the standard one.

 

It's pretty straightforward, just messy.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:       01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
<blocked::http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: 29 September 2008 15:04
To: [email protected]
Subject: [flexcoders] TabNavigator with a two lines label

 

Is it possible to have a TabNavigator with a label text in two lines?

Thanks

 

Reply via email to