fiorilli Posted August 24, 2016 Share Posted August 24, 2016 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 mannerPageControl -> 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 More sharing options...
Sherzod Posted August 24, 2016 Share Posted August 24, 2016 Hi, For now try: 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) }) } Best regards. Link to comment Share on other sites More sharing options...
fiorilli Posted August 24, 2016 Author Share Posted August 24, 2016 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 More sharing options...
fiorilli Posted September 22, 2016 Author Share Posted September 22, 2016 up! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now