I answered the same question last week. The response was...

 

"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."

 

((Thanks search coders for making it easy to find my own posts now!))

 

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 franzthues
Sent: 09 October 2008 15:17
To: [email protected]
Subject: [flexcoders] TabNavigator with multiline labels in tabs

 

Hello everyone,

I'm a longtime Flash developer tackling his first Flex project.

The layout I'm implementing specifies two-line tab labels for the
TabNavigator, which doesn't seem to be supported by Flex per default.
I'm a bit confused as to how I would approach changing the
TabNavigator's tab texfields to multiline. 

I'd be very grateful for any input on this topic.

Thanks,
franz

 

Reply via email to