add resize on reset to handle not correctly resizing on reruns (#2357)

This commit is contained in:
Anthony Dresser
2018-08-30 12:01:27 -07:00
committed by GitHub
parent d94f86b44a
commit 39b33160c2

View File

@@ -167,8 +167,13 @@ export class GridPanel extends ViewletPanel {
for (let i = this.splitView.length - 1; i >= 0; i--) {
this.splitView.removeView(i);
}
dispose(this.tables);
this.tables = [];
this.maximumBodySize = this.tables.reduce((p, c) => {
return p + c.maximumSize;
}, 0);
}
private maximizeTable(tableid: string): void {