mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Render before adding to the splitView (#10261)
This commit is contained in:
@@ -344,9 +344,10 @@ export class AccountDialog extends Modal {
|
|||||||
attachPanelStyler(providerView, this._themeService);
|
attachPanelStyler(providerView, this._themeService);
|
||||||
|
|
||||||
const insertIndex = this._splitView.length;
|
const insertIndex = this._splitView.length;
|
||||||
|
providerView.render();
|
||||||
|
|
||||||
// Append the list view to the split view
|
// Append the list view to the split view
|
||||||
this._splitView.addView(providerView, Sizing.Distribute, insertIndex);
|
this._splitView.addView(providerView, Sizing.Distribute, insertIndex);
|
||||||
providerView.render();
|
|
||||||
providerView.index = insertIndex;
|
providerView.index = insertIndex;
|
||||||
|
|
||||||
this._splitView.layout(DOM.getContentHeight(this._container));
|
this._splitView.layout(DOM.getContentHeight(this._container));
|
||||||
|
|||||||
Reference in New Issue
Block a user