ynnckz Posted April 9, 2021 Share Posted April 9, 2021 Hello I'm trying to implement a PageControl into my project and I would like the tab-bar area to appear centred over the content-area. Is there a way to achieve this? 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 9, 2021 Share Posted April 9, 2021 4 hours ago, ynnckz said: I'm trying to implement a PageControl into my project and I would like the tab-bar area to appear centred over the content-area. Is there a way to achieve this? Hello, Are there several of them? Quote Link to comment Share on other sites More sharing options...
ynnckz Posted April 9, 2021 Author Share Posted April 9, 2021 Hello, There is only one PageControl on my MainForm, with 5 tabs on it. Right now it looks like this: And I would want it to look something like this: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 9, 2021 Share Posted April 9, 2021 1 hour ago, ynnckz said: There is only one PageControl on my MainForm, with 5 tabs on it. Right now it looks like this: And I would want it to look something like this: Hello, Try this config: function tabPanel.beforeInit(sender, config) { config.tabBar = { layout: { pack: 'center' } } } 1 Quote Link to comment Share on other sites More sharing options...
ynnckz Posted April 12, 2021 Author Share Posted April 12, 2021 Hello, Exactly what I was looking for, works perfectly. Thank you very much. 1 Quote Link to comment Share on other sites More sharing options...
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.