align with portal button style (#14187)

* align with portal button style

* fix welcome page

* image button

* more fixes

* use withProperties

* add comment back

* add border radius
This commit is contained in:
Alan Ren
2021-02-08 15:12:54 -08:00
committed by GitHub
parent 7a0ac71b98
commit a3cddbc8aa
67 changed files with 384 additions and 251 deletions

View File

@@ -352,9 +352,10 @@ export class AlertDialog extends AgentDialog<AlertData> {
.withProperties({ width: 375 })
.component();
this.executeJobTextBox.enabled = false;
this.newJobButton = view.modelBuilder.button().withProperties({
this.newJobButton = view.modelBuilder.button().withProps({
label: AlertDialog.NewJobButtonLabel,
width: 80
width: 80,
secondary: true
}).component();
this.newJobButton.enabled = false;
this.newJobButton.onDidClick(() => {
@@ -405,9 +406,10 @@ export class AlertDialog extends AgentDialog<AlertData> {
width: 375
}).component();
this.newOperatorButton = view.modelBuilder.button().withProperties({
this.newOperatorButton = view.modelBuilder.button().withProps({
label: AlertDialog.NewOperatorButtonLabel,
width: 80
width: 80,
secondary: true
}).component();
this.operatorsTable.enabled = false;