mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
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:
@@ -28,9 +28,10 @@ export function registerBooksWidget(bookContributionProvider: BookContributionPr
|
||||
const bookRow = view.modelBuilder.flexContainer().withLayout({
|
||||
flexFlow: 'row'
|
||||
}).component();
|
||||
const tsgbooklink = view.modelBuilder.button().withProperties<azdata.ButtonProperties>({
|
||||
const tsgbooklink = view.modelBuilder.button().withProps({
|
||||
label: contribution.name,
|
||||
title: contribution.name
|
||||
title: contribution.name,
|
||||
secondary: true
|
||||
}).component();
|
||||
tsgbooklink.onDidClick(() => {
|
||||
let uri: vscode.Uri = vscode.Uri.file(contribution.path);
|
||||
|
||||
@@ -211,7 +211,11 @@ export class ManageAccessDialog {
|
||||
this.hdfsModel.createAndAddAclEntry(value, this.addUserOrGroupSelectedType);
|
||||
this.addUserOrGroupInput.value = '';
|
||||
});
|
||||
const addUserOrGroupButton = this.modelBuilder.button().withProperties<azdata.ButtonProperties>({ label: loc.addLabel, width: 75 }).component();
|
||||
const addUserOrGroupButton = this.modelBuilder.button().withProps({
|
||||
label: loc.addLabel,
|
||||
width: 75,
|
||||
secondary: true
|
||||
}).component();
|
||||
addUserOrGroupButton.onDidClick(() => {
|
||||
this.hdfsModel.createAndAddAclEntry(this.addUserOrGroupInput.value, this.addUserOrGroupSelectedType);
|
||||
this.addUserOrGroupInput.value = '';
|
||||
|
||||
@@ -138,7 +138,8 @@ export class SparkConfigurationTab {
|
||||
enabled: (this._path) ? false : true,
|
||||
label: '•••',
|
||||
width: constants.mssqlClusterSparkJobFileSelectorButtonWidth,
|
||||
height: constants.mssqlClusterSparkJobFileSelectorButtonHeight
|
||||
height: constants.mssqlClusterSparkJobFileSelectorButtonHeight,
|
||||
secondary: true
|
||||
}).component();
|
||||
this._filePickerButton.onDidClick(() => this.onSelectFile());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user