mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
fix sizing issues with explorer widget (#502)
This commit is contained in:
@@ -77,6 +77,7 @@ export class DashboardWidgetWrapper implements AfterContentInit, OnInit, OnDestr
|
||||
if (this._actions) {
|
||||
this._actionbar.push(this._bootstrap.instantiationService.createInstance(ToggleMoreWidgetAction, this._actions, this._component.actionsContext), { icon: true, label: false });
|
||||
}
|
||||
this.layout();
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
||||
@@ -118,4 +118,8 @@ export class ExplorerWidget extends DashboardWidget implements IDashboardWidget,
|
||||
public refresh(): void {
|
||||
this.init();
|
||||
}
|
||||
|
||||
public layout(): void {
|
||||
this._tree.layout(getContentHeight(this._tableContainer.nativeElement));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user