Jump to content

The use of tabPanel


yxzzjg

Recommended Posts

Hi,

 

The simplest case, you can do so:

 

1. UnimTabPanel1 ->  ClientEvents -> UniEvents [Ext.tab.Panel] add beforeInit fn:

function beforeInit(sender, config)
{
  config.tabBarPosition = 'bottom';  
}

2. UnimTabSheet1 ->  ClientEvents -> UniEvents [Ext.Container] add beforeInit fn:

function beforeInit(sender, config)
{
  config.iconCls = 'home';
}

3. UnimTabSheet2 ->  ClientEvents -> UniEvents [Ext.Container] add beforeInit fn:

function beforeInit(sender, config)
{
  config.iconCls = 'settings';
}

4. ...

 

5. Here are some list of available iconCls:

action
add
arrow_up
arrow_right
arrow_down
arrow_left
bookmarks
compose
delete
download
favorites
info
more
refresh
reply
search
settings
star
team
time
trash
user

Try..

 

Best regards.

Link to comment
Share on other sites

  • 4 years later...
×
×
  • Create New...