mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Add custom width to Python wizard to reduce wasted space. (#10705)
* Also use double quotes for localize calls in the wizard.
This commit is contained in:
@@ -63,13 +63,13 @@ export class ConfigurePythonWizard {
|
|||||||
|
|
||||||
let wizardTitle: string;
|
let wizardTitle: string;
|
||||||
if (kernelName) {
|
if (kernelName) {
|
||||||
wizardTitle = localize('configurePython.wizardNameWithKernel', 'Configure Python to run {0} kernel', kernelName);
|
wizardTitle = localize('configurePython.wizardNameWithKernel', "Configure Python to run {0} kernel", kernelName);
|
||||||
} else {
|
} else {
|
||||||
wizardTitle = localize('configurePython.wizardNameWithoutKernel', 'Configure Python to run kernels');
|
wizardTitle = localize('configurePython.wizardNameWithoutKernel', "Configure Python to run kernels");
|
||||||
}
|
}
|
||||||
this._wizard = azdata.window.createWizard(wizardTitle);
|
this._wizard = azdata.window.createWizard(wizardTitle, 600);
|
||||||
let page0 = azdata.window.createWizardPage(localize('configurePython.page0Name', 'Configure Python Runtime'));
|
let page0 = azdata.window.createWizardPage(localize('configurePython.page0Name', "Configure Python Runtime"));
|
||||||
let page1 = azdata.window.createWizardPage(localize('configurePython.page1Name', 'Install Dependencies'));
|
let page1 = azdata.window.createWizardPage(localize('configurePython.page1Name', "Install Dependencies"));
|
||||||
|
|
||||||
page0.registerContent(async (view) => {
|
page0.registerContent(async (view) => {
|
||||||
let configurePathPage = new ConfigurePathPage(this.apiWrapper, this, page0, this.model, view);
|
let configurePathPage = new ConfigurePathPage(this.apiWrapper, this, page0, this.model, view);
|
||||||
|
|||||||
Reference in New Issue
Block a user