add options to customize the model view dashboard (#9872)

* add options to customize the mv dashboard

* rename the property
This commit is contained in:
Alan Ren
2020-04-06 20:04:38 -07:00
committed by GitHub
parent 9819e97f7b
commit c2b8fcde45
8 changed files with 40 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ export default class TabbedPanelComponent extends ContainerBase<TabConfig> imple
setLayout(layout: TabbedPanelLayout): void {
this._panel.options = {
showTabsWhenOne: true,
alwaysShowTabs: layout.alwaysShowTabs,
layout: layout.orientation === TabOrientation.Horizontal ? NavigationBarLayout.horizontal : NavigationBarLayout.vertical,
showIcon: layout.showIcon
};