give more flexibility to the dialog width setting (#14570)

* give more flexibility to the dialog width setting

* one more place
This commit is contained in:
Alan Ren
2021-03-05 15:01:29 -08:00
committed by GitHub
parent 63c59ed920
commit 1d60287795
5 changed files with 10 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ export class AssessmentResultsDialog {
public async openDialog(dialogName?: string) {
if (!this._isOpen) {
this._isOpen = true;
this.dialog = azdata.window.createModelViewDialog(this.title, this.title, true);
this.dialog = azdata.window.createModelViewDialog(this.title, this.title, '90%');
this.dialog.okButton.label = AssessmentResultsDialog.OkButtonText;
this.dialog.okButton.onClick(async () => await this.execute());

View File

@@ -31,7 +31,7 @@ export class WizardController {
}
private async createWizard(stateModel: MigrationStateModel): Promise<void> {
const wizard = azdata.window.createWizard(loc.WIZARD_TITLE, 'wide');
const wizard = azdata.window.createWizard(loc.WIZARD_TITLE, 'MigrationWizard', 'wide');
wizard.generateScriptButton.enabled = false;
wizard.generateScriptButton.hidden = true;
const skuRecommendationPage = new SKURecommendationPage(wizard, stateModel);