Jump to content

Center tab-bar position of PageControl


ynnckz

Recommended Posts

1 hour ago, ynnckz said:

There is only one PageControl on my MainForm, with 5 tabs on it. Right now it looks like this:

current.thumb.png.3f8ec8c75360f28ad04cf8f3ebc3565b.png

And I would want it to look something like this:

desired.thumb.PNG.b73f2ea79c7f58d18c7cd9701b990136.PNG

Hello,

Try this config:

function tabPanel.beforeInit(sender, config)
{
    config.tabBar = {
        layout: { pack: 'center' }
    }
}

tabBarCenter.png.beb24657694eb9351c9ab9d9b4497ee5.png

  • Like 1
Link to comment
Share on other sites

Join the conversation

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

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