GerhardV Posted December 1, 2016 Posted December 1, 2016 Does anybody know how to adjust the spacing between the tabs of a PageControl? Thanks. Quote
Sherzod Posted December 1, 2016 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. Quote
GerhardV Posted December 2, 2016 Author 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? Quote
mehamada Posted February 27, 2019 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? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.