Import models - Browse location styles. (#13110)

* Added icon and style changes for browse location step in import models.

* Revised icon path to point to one for light and one for dark.
This commit is contained in:
Hale Rankin
2020-11-04 10:27:57 -08:00
committed by GitHub
parent e51f16fa8d
commit 3677a69c76
2 changed files with 8 additions and 2 deletions

View File

@@ -38,8 +38,11 @@ export class LocalModelsComponent extends ModelViewBase implements IDataComponen
width: this.componentMaxLength - this.browseButtonMaxLength - this.spaceBetweenComponentsLength
}).component();
this._localBrowse = modelBuilder.button().withProperties({
label: constants.browseModels,
width: this.browseButtonMaxLength
iconPath: { light: this.asAbsolutePath('images/browseLocal.svg'), dark: this.asAbsolutePath('images/browseLocal.svg') },
iconHeight: '24px',
iconWidth: '24px',
width: '24px',
height: '24px'
}).component();
this._localBrowse.onDidClick(async () => {