@@ -27,7 +27,7 @@ import { EditorDropTarget } from 'vs/workbench/browser/parts/editor/editorDropTa
2727import { localize } from 'vs/nls' ;
2828import { Color } from 'vs/base/common/color' ;
2929import { CenteredViewLayout } from 'vs/base/browser/ui/centered/centeredViewLayout' ;
30- import { IView , orthogonal , LayoutPriority } from 'vs/base/browser/ui/grid/gridview' ;
30+ import { IView , orthogonal , LayoutPriority , IViewSize } from 'vs/base/browser/ui/grid/gridview' ;
3131import { onUnexpectedError } from 'vs/base/common/errors' ;
3232import { Parts , IWorkbenchLayoutService } from 'vs/workbench/services/layout/browser/layoutService' ;
3333import { registerSingleton } from 'vs/platform/instantiation/common/extensions' ;
@@ -756,13 +756,14 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
756756
757757 //#region Part
758758
759- readonly priority : LayoutPriority = LayoutPriority . High ;
760-
761759 get minimumWidth ( ) : number { return this . centeredLayoutWidget . minimumWidth ; }
762760 get maximumWidth ( ) : number { return this . centeredLayoutWidget . maximumWidth ; }
763761 get minimumHeight ( ) : number { return this . centeredLayoutWidget . minimumHeight ; }
764762 get maximumHeight ( ) : number { return this . centeredLayoutWidget . maximumHeight ; }
765763
764+ get onDidChange ( ) : Event < IViewSize | undefined > { return this . centeredLayoutWidget . onDidChange ; }
765+ readonly priority : LayoutPriority = LayoutPriority . High ;
766+
766767 get preferredSize ( ) : Dimension {
767768 if ( ! this . _preferredSize ) {
768769 this . _preferredSize = new Dimension ( this . gridWidget . minimumWidth , this . gridWidget . minimumHeight ) ;
0 commit comments