mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Added fix for Publish Target Label Position (#17771)
* Added fix for Publish Target Label Position * renamed checkbox
This commit is contained in:
@@ -368,7 +368,8 @@ export class PublishDatabaseDialog {
|
||||
|
||||
private createPublishTypeRadioButtons(view: azdataType.ModelView): azdataType.Component {
|
||||
const publishToLabel = view.modelBuilder.text().withProps({
|
||||
value: constants.publishTo
|
||||
value: constants.publishTo,
|
||||
width: cssStyles.publishDialogLabelWidth
|
||||
}).component();
|
||||
this.existingServerRadioButton = view.modelBuilder.radioButton()
|
||||
.withProps({
|
||||
@@ -391,12 +392,17 @@ export class PublishDatabaseDialog {
|
||||
this.onPublishTypeChange(!checked, view);
|
||||
});
|
||||
|
||||
let flexRadioButtonsModel: azdataType.FlexContainer = view.modelBuilder.flexContainer()
|
||||
const radioButtonContainer = view.modelBuilder.flexContainer()
|
||||
.withLayout({ flexFlow: 'column' })
|
||||
.withItems([publishToLabel, this.existingServerRadioButton, this.dockerServerRadioButton])
|
||||
.withItems([this.existingServerRadioButton, this.dockerServerRadioButton])
|
||||
.withProps({ ariaRole: 'radiogroup' })
|
||||
.component();
|
||||
|
||||
let flexRadioButtonsModel: azdataType.FlexContainer = view.modelBuilder.flexContainer()
|
||||
.withLayout({ flexFlow: 'row', alignItems: 'baseline' })
|
||||
.withItems([publishToLabel, radioButtonContainer], { CSSStyles: { flex: '0 0 auto', 'margin-right': '10px' } })
|
||||
.component();
|
||||
|
||||
return flexRadioButtonsModel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user