Jump to content

how to set bigger UniTabsheet bar and font


Kachar ganyalong

Recommended Posts

Thank you, all done.

 

first i put this in 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)
    })
}

then put this in each UniTabsheet extevents

function afterrender(sender, eOpts)
{
   sender.tab.btnInnerEl.setStyle("fontSize", "12");
}

Works!

 

 

now I'm in love with javaScript.

Link to comment
Share on other sites

"now I'm in love with javaScript."

 

JS is like a cute and clever woman - you never know exactly what she's gonna do,

and how she's gonna do it, and if she will even do it, and if so, when she's gonna do it  :)

 

Any coder cannot help but being infatuated by such an interesting partner...

  • Upvote 2
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.

×
×
  • Create New...