提交 1d9150ca 编写于 作者: J Joao Moreno

💄

上级 709c24be
......@@ -192,11 +192,10 @@ export class Grid<T extends IView> implements IDisposable {
get minimumWidth(): number { return this.gridview.minimumWidth; }
get minimumHeight(): number { return this.gridview.minimumHeight; }
get maximumWidth(): number { return this.gridview.maximumWidth; }
get maximumHeight(): number { return this.gridview.maximumHeight; }
public sashResetSizing: Sizing = Sizing.Distribute;
sashResetSizing: Sizing = Sizing.Distribute;
constructor(container: HTMLElement, view: T, options: IGridOptions = {}) {
this.gridview = new GridView(container, options);
......
......@@ -459,29 +459,13 @@ export class GridView implements IDisposable {
this.root.orthogonalLayout(orthogonalSize);
}
get width(): number {
return this.root.width;
}
get height(): number {
return this.root.height;
}
get minimumWidth(): number {
return this.root.minimumWidth;
}
get width(): number { return this.root.width; }
get height(): number { return this.root.height; }
get minimumHeight(): number {
return this.root.minimumHeight;
}
get maximumWidth(): number {
return this.root.maximumHeight;
}
get maximumHeight(): number {
return this.root.maximumHeight;
}
get minimumWidth(): number { return this.root.minimumWidth; }
get minimumHeight(): number { return this.root.minimumHeight; }
get maximumWidth(): number { return this.root.maximumHeight; }
get maximumHeight(): number { return this.root.maximumHeight; }
constructor(container: HTMLElement, options: IGridViewOptions = {}) {
this.element = append(container, $('.monaco-grid-view'));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册