Jump to content


Recommended Posts

Hi guys,

The UniGui already has support for TabBar configuration in TabPanel?

I'm trying to change the height of the tabs in PageControl the following manner

PageControl -> ClientEvents -> UniEvents -> [Ext.tab.Panel [tabPanel]] -> tabPanel.beforeInit

tabBar: { height: 25,
          defaults: { height: 20 }

But all my attempts, I could not change the size of the tabs.

I also tried the following methods.

config.tabBar: { height: 25,
          defaults: { height: 20 }

config.tabBar: { height: 25 }

config.tabBarHeight = 25

But also did not work.

Is there any other way to change TabBar settings?

Link to comment
Share on other sites



For now try:


PageControl -> ClientEvents -> ExtEvents -> [Ext.tab.Panel [tabPanel]] -> afterrender fn:

function tabPanel.afterrender(sender, eOpts)
    var _height = 35;
    sender.tabBar.items.each(function(el) {

Best regards.

Link to comment
Share on other sites

Hi Delphi Developer,

That way you said the event "afterRender" the TabPanel. The space the size of the removed height of the tab is added to the bottom of the PageControl.



Is there any way to change it without the addition of this space in the end?

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

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

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...