Skip to main content

tabs title? possible?

3 replies [Last post]
lukecian
Offline
Joined: 2010-09-30
Points: 0

hi, all
How to render tabs title, just like List renderer?
any tips?
thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

In the old tabbed pane you could override the look and feel.
In the new Tab's component just style them using the theme (Tab style) and we support some things like text placement, icons etc. Nothing as full blown as a renderer though.

lukecian
Offline
Joined: 2010-09-30
Points: 0

I read TabbePane , in the source code TabbedPane uses List to manage title
why Tabs does not use List to manage Title anymore?
hopefully there will be a rederer method for tabs : -)
so that the tabs title can be customize to many kinds of styles

vprise
Offline
Joined: 2003-11-07
Points: 0

The list approach was harder to customize and contained many drawbacks/hacks.
The buttons (and more recently toggle button) approach is actually easier to customize via styles without deriving anything. In theory we can allow subclassing of a tab to allow even more customization but I'm not sure we want to.
Personally I was able to customize the new Tabs component much more heavily (and easily) than the old tabbed pane.