Jump to content

tab height


jameswong
 Share

Recommended Posts

hello, i want to change the tab'height of pagecontrol, like this:

 

PageControl -> ClientEvents -> ExtEvents -> [Ext.tab.Panel [tabPanel]] -> afterrender fn:
function tabPanel.afterrender(sender, eOpts)
{
    var _height = 35;
    sender.tabBar.setHeight(_height);
    sender.tabBar.items.each(function(el) {
        el.setHeight(_height)
    })
}

 

but it have The space on the bottom of the tab, how to sovle? thank you

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...