Fixed the table width so it does not overflow from the wizard. (#13372)

This commit is contained in:
Aasim Khan
2020-11-12 15:06:03 -08:00
committed by GitHub
parent a2f7136728
commit 6c920f6d54

View File

@@ -77,7 +77,7 @@ export class ToolsAndEulaPage extends ResourceTypePage {
this.pageObject.registerContent((view: azdata.ModelView) => { this.pageObject.registerContent((view: azdata.ModelView) => {
this.view = view; this.view = view;
const tableWidth = 1126; const tableWidth = 1060;
this._optionsContainer = view.modelBuilder.flexContainer().withLayout({ flexFlow: 'column' }).component(); this._optionsContainer = view.modelBuilder.flexContainer().withLayout({ flexFlow: 'column' }).component();
this._agreementContainer = view.modelBuilder.divContainer().component(); this._agreementContainer = view.modelBuilder.divContainer().component();
const toolColumn: azdata.TableColumn = { const toolColumn: azdata.TableColumn = {
@@ -102,7 +102,7 @@ export class ToolsAndEulaPage extends ResourceTypePage {
}; };
const installedPathColumn: azdata.TableColumn = { const installedPathColumn: azdata.TableColumn = {
value: loc.discoverPathOrAdditionalInformationText, value: loc.discoverPathOrAdditionalInformationText,
width: 580 width: 435
}; };
this._toolsTable = view.modelBuilder.table().withProperties<azdata.TableComponentProperties>({ this._toolsTable = view.modelBuilder.table().withProperties<azdata.TableComponentProperties>({
data: [], data: [],