Can you please tell me how to make the tabs same size and evenly stretch them to the size of the TabContainer
? Picture below shows the size of the tabs are different and they are left aligned. But i want to them to be same size which should be 1/3 of the tab container.
var tc = new TabContainer({
style: "height: 100px; width: 100%;"
});
var cpOrg = new ContentPane({
title: "Mississippi",
content: "Mississippi"
});
tc.addChild(cpOrg);
var cpShared = new ContentPane({
title: "Utah",
content: "Utah"
});
tc.addChild(cpShared);
var cpPrivate = new ContentPane({
title: "New York",
content: "New York"
});
tc.addChild(cpPrivate);
tc.startup();