File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class LayoutManager {
121121 getComponent = ( ) => withStyles ( styles ) ( this . Component ( this ) ) ;
122122
123123
124- private createTabSet ( tabsetID , position = TabsetPosition . BOTTOM , weight = 30 ) {
124+ private createTabSet ( tabsetID , position = TabsetPosition . RIGHT , weight = 50 ) {
125125 // In case the tabset doesn't exist
126126 const { model } = this ;
127127 const rootNode = model . getNodeById ( "root" ) ;
@@ -134,9 +134,11 @@ class LayoutManager {
134134 let hrowRowRow = null ;
135135 switch ( position ) {
136136 case TabsetPosition . RIGHT :
137+ rootNode . getChildren ( ) . forEach ( node => node . _setWeight ( 100 - weight ) ) ;
137138 rootNode . _addChild ( tabset ) ;
138139 break ;
139140 case TabsetPosition . LEFT :
141+ rootNode . getChildren ( ) . forEach ( node => node . _setWeight ( 100 - weight ) ) ;
140142 rootNode . _addChild ( tabset , 0 ) ;
141143 break ;
142144 case TabsetPosition . BOTTOM :
You can’t perform that action at this time.
0 commit comments