File tree 2 files changed +3
-24
lines changed
2 files changed +3
-24
lines changed Original file line number Diff line number Diff line change @@ -2040,25 +2040,6 @@ export class Project extends EezObject {
2040
2040
LayoutModels . PROPERTIES_TAB_ID ,
2041
2041
settingsController . showComponentsPaletteInProjectEditor
2042
2042
) ;
2043
-
2044
- // make sure Properties tab width is not 0
2045
- const propertiesNode = this . _store . layoutModels . rootEditor . getNodeById (
2046
- LayoutModels . PROPERTIES_TAB_ID
2047
- ) ;
2048
- if ( propertiesNode ) {
2049
- const rect = propertiesNode . getRect ( ) ;
2050
- if ( rect . width == 0 ) {
2051
- const parent = propertiesNode . getParent ( ) ;
2052
- if ( parent ) {
2053
- this . _store . layoutModels . rootEditor . doAction (
2054
- FlexLayout . Actions . updateNodeAttributes (
2055
- parent . getId ( ) ,
2056
- { width : 420 }
2057
- )
2058
- ) ;
2059
- }
2060
- }
2061
- }
2062
2043
}
2063
2044
2064
2045
get missingExtensions ( ) {
Original file line number Diff line number Diff line change @@ -387,8 +387,7 @@ export class LayoutModels extends AbstractLayoutModels {
387
387
children : [
388
388
{
389
389
type : "row" ,
390
- weight : 0 ,
391
- width : 350 ,
390
+ weight : 15 ,
392
391
children : [
393
392
{
394
393
type : "tabset" ,
@@ -433,16 +432,15 @@ export class LayoutModels extends AbstractLayoutModels {
433
432
} ,
434
433
{
435
434
type : "tabset" ,
436
- weight : 100 ,
435
+ weight : 65 ,
437
436
enableDeleteWhenEmpty : false ,
438
437
enableClose : false ,
439
438
id : LayoutModels . EDITOR_MODE_EDITORS_TABSET_ID ,
440
439
children : [ ]
441
440
} ,
442
441
{
443
442
type : "row" ,
444
- weight : 0 ,
445
- width : 420 ,
443
+ weight : 20 ,
446
444
children : [
447
445
{
448
446
type : "tabset" ,
You can’t perform that action at this time.
0 commit comments