Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Help Extending TabNavigator/ButtonBar   Message List  
Reply | Forward Message #62199 of 150552 |
Hi All,

I've posted this to the flex forums as well. I'd like help with ideas
on how to extend TabNavigator to include a "more" button, for when
there are too many tabs.

I'm a bit in the dark when it comes to depthy depths of the Flex
framework, and need to make some interesting changes to a TabNavigator
component in an application under development.

In this case it's a single TabNavigator, but with a *lot* of tabs.
Enough for them to be truncated down to the minimum (30 pixels or so),
and just fit on the screen. The problem is with the squishy truncation
part. I don't want that to happen.

I want the tabs to match the width of the text on their respective
titles. In addition to this, the final tab needs to be a "more" tab,
which should "scroll across" in effect, revealing the remaining tabs.
The button is prepended and the same effect achieved in reverse when
the user wants to return to the tabs at the start.

I'm looking at the Source for the ButtonBar right now, but I'm not
getting very far in terms of understanding where to look. I know it
sources buttons from it's dataProvider.

Is it possible to draw these buttons offscreen and have them slide into view?

That said, does anyone know a clever way of accomplishing this or know
someplace I could look where it's already implemented?

Any clues/hints/ideas would be much appreciated =)

Best Regards,
Ciarán



Mon Jan 22, 2007 3:07 pm

parallax1313
Offline Offline
Send Email Send Email

Forward
Message #62199 of 150552 |
Expand Messages Author Sort by Date

Hi All, I've posted this to the flex forums as well. I'd like help with ideas on how to extend TabNavigator to include a "more" button, for when there are too...
Ciarán
parallax1313
Offline Send Email
Jan 22, 2007
3:14 pm

keep an eye out here http://flexibleexperiments.wordpress.com and on mxna jason ... De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la ...
Jason Hawryluk
sourcecoderia
Offline Send Email
Jan 22, 2007
4:45 pm

I'm working on a blog post for something similar, but more toward the way flex builder does it with a drop down at the end. Plus a bunch of other goodies. ;) I...
Jason Hawryluk
sourcecoderia
Offline Send Email
Jan 22, 2007
4:50 pm

Thanks Jason, would be a great help. Just subscribed to the feed. =) -Ciarán...
Ciarán
parallax1313
Offline Send Email
Jan 23, 2007
12:22 am

I know Jason said he's going to be releasing a new TabNavigator component, but I couldn't resist trying my hand at it. Here's my enhanced TabNavigator: ...
Doug McCune
dougmccune
Offline Send Email
Jan 23, 2007
8:44 am

Here's another update to the TabNavigator extension. Getting closer... http://dougmccune.com/blog/2007/01/25/the-quest-for-the-perfect-tab-navigator-part-2/ ...
Doug McCune
dougmccune
Offline Send Email
Jan 25, 2007
5:27 am

Bump... My version is now up with source for those that wish to have a look. http://flexibleexperiments.wordpress.com/2007/02/05/flex-201-extending-the-t ...
Jason Hawryluk
sourcecoderia
Offline Send Email
Feb 6, 2007
8:18 am

And I just posted my latest version of an extended TabNavigator with the source. ...
dougmccune
Offline Send Email
Feb 8, 2007
4:19 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help