mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
fix alignment in update project from db dialog (#19207)
This commit is contained in:
@@ -384,8 +384,9 @@ export class UpdateProjectFromDatabaseDialog {
|
|||||||
width: cssStyles.updateProjectFromDatabaseLabelWidth
|
width: cssStyles.updateProjectFromDatabaseLabelWidth
|
||||||
}).component();
|
}).component();
|
||||||
|
|
||||||
const projectLocationRow = view.modelBuilder.flexContainer().withItems([projectLocationLabel, this.projectFileTextBox], { flex: '0 0 auto', CSSStyles: { 'margin-right': '10px', 'margin-bottom': '-5px', 'margin-top': '-10px' } }).component();
|
const projectLocationRow = view.modelBuilder.flexContainer().withItems([projectLocationLabel,], { flex: '0 0 auto', CSSStyles: { 'margin-right': '10px', 'margin-bottom': '-5px', 'margin-top': '-7px' } }).component();
|
||||||
projectLocationRow.addItem(browseFolderButton, { CSSStyles: { 'margin-right': '0px', 'margin-bottom': '-5px', 'margin-top': '-10px' } });
|
projectLocationRow.addItem(this.projectFileTextBox, { CSSStyles: { 'margin-right': '10px' } });
|
||||||
|
projectLocationRow.addItem(browseFolderButton, { CSSStyles: { 'margin-top': '2px' } });
|
||||||
|
|
||||||
return projectLocationRow;
|
return projectLocationRow;
|
||||||
}
|
}
|
||||||
@@ -482,8 +483,8 @@ export class UpdateProjectFromDatabaseDialog {
|
|||||||
width: cssStyles.updateProjectFromDatabaseLabelWidth
|
width: cssStyles.updateProjectFromDatabaseLabelWidth
|
||||||
}).component();
|
}).component();
|
||||||
|
|
||||||
const actionRow = view.modelBuilder.flexContainer().withItems([actionLabel, <azdata.FlexContainer>radioButtons], { flex: '0 0 auto', CSSStyles: { 'margin-right': '10px', 'margin-bottom': '-10px' } }).withLayout({ flexFlow: 'row', alignItems: 'center' }).component();
|
const actionRow = view.modelBuilder.flexContainer().withItems([actionLabel], { flex: '0 0 auto', CSSStyles: { 'margin-right': '10px', 'margin-top': '-17px' } }).withLayout({ flexFlow: 'row', alignItems: 'center' }).component();
|
||||||
|
actionRow.addItem(radioButtons);
|
||||||
return actionRow;
|
return actionRow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user