[PE] Fix focus of position settings in advanced settings

This commit is contained in:
JuliaSvinareva 2022-02-02 11:37:18 +03:00
parent 32f018a950
commit 981391fe09
4 changed files with 16 additions and 8 deletions

View file

@ -185,7 +185,8 @@ define([ 'text!presentationeditor/main/app/template/ChartSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
this.cmbFromY = new Common.UI.ComboBox({
@ -197,7 +198,8 @@ define([ 'text!presentationeditor/main/app/template/ChartSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
// Alt Text

View file

@ -188,7 +188,8 @@ define([ 'text!presentationeditor/main/app/template/ImageSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
this.cmbFromY = new Common.UI.ComboBox({
@ -200,7 +201,8 @@ define([ 'text!presentationeditor/main/app/template/ImageSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
// Rotation

View file

@ -193,7 +193,8 @@ define([ 'text!presentationeditor/main/app/template/ShapeSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
this.cmbFromY = new Common.UI.ComboBox({
@ -205,7 +206,8 @@ define([ 'text!presentationeditor/main/app/template/ShapeSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
// Margins

View file

@ -190,7 +190,8 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
this.cmbFromY = new Common.UI.ComboBox({
@ -202,7 +203,8 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
{ value: 'left', displayValue: this.textTopLeftCorner },
{ value: 'center', displayValue: this.textCenter }
],
editable: false
editable: false,
takeFocusOnClose: true
});
this._marginsChange = function(field, newValue, oldValue, eOpts, source, property){