GerhardV Posted December 1, 2016 Share Posted December 1, 2016 Does anybody know how to adjust the spacing between the tabs of a PageControl? Thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted December 1, 2016 Share Posted December 1, 2016 Hi, For now can you try this?!: UniPageControl -> ClientEvents -> UniEvents -> Ext.tab.Panel [tabPanel] -> function tabPanel.beforeInit: function tabPanel.beforeInit(sender, config) { config.tabBar = { defaults: { margin: '0 0 0 15' } } } Best regards. Link to comment Share on other sites More sharing options...
GerhardV Posted December 2, 2016 Author Share Posted December 2, 2016 Thank you sir, works like a charm! I did find that exact code with a Google search but I am not always sure to which event to put it. UniEvents or ExtEvents...and then even within those I am unsure. Maybe something we can add as a property to TPageControl? Link to comment Share on other sites More sharing options...
mehamada Posted February 27, 2019 Share Posted February 27, 2019 On 12/1/2016 at 3:35 PM, Sherzod said: Hi, For now can you try this?!: UniPageControl -> ClientEvents -> UniEvents -> Ext.tab.Panel [tabPanel] -> function tabPanel.beforeInit: function tabPanel.beforeInit(sender, config) { config.tabBar = { defaults: { margin: '0 0 0 15' } } } Best regards. and how to change the background color? 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