Jump to content

PageControl properties


mierlp

Recommended Posts

  • 3 months later...
  • 2 months later...
  • 3 months later...

For the tab height you can add the following event. All these properties are actually governed by CSS and is different depending on the theme. I find it best to create my own custom theme, or you can just add the event as and whenever you need it. If that is going to be quite often I would then consider creating your own component inheriting form the uniGUI class and add the event once and use your component from thereon.

 

ExtEvents: Ext.panel.Panels -> afterrender

function tabPanel.afterrender(sender, eOpts)
{
   var _height = 32;
    sender.tabBar.setHeight(_height);
    sender.tabBar.items.each(function(el) {
        el.setHeight(_height)
    })
}
Link to comment
Share on other sites

×
×
  • Create New...