This commit is contained in:
Julia Radzhabova
2025-03-14 15:38:46 +03:00
parent dc7433d4a7
commit decbd9dae3
2 changed files with 6 additions and 6 deletions

View File

@ -814,14 +814,14 @@ define([
onLayoutChanged: function(combo, record) {
if (this.api && !this._noApply) {
this._state.Layout = undefined;
this.api.SetButtonLayout(record.value);
this.api.SetButtonFieldLayout(record.value);
this.fireEvent('editcomplete', this);
}
},
onChFit: function(field, newValue, oldValue, eOpts){
if (this.api && !this._noApply) {
this.api.SetButtonFitBounds(field.getValue()==='checked');
this.api.SetButtonFieldFitBounds(field.getValue()==='checked');
this.fireEvent('editcomplete', this);
}
},
@ -829,7 +829,7 @@ define([
onScaleChanged: function(combo, record) {
if (this.api && !this._noApply) {
this._state.Scale = undefined;
this.api.SetButtonScaleWhen(record.value);
this.api.SetButtonFieldScaleWhen(record.value);
this.fireEvent('editcomplete', this);
}
},
@ -837,7 +837,7 @@ define([
onHowScaleChanged: function(combo, record) {
if (this.api && !this._noApply) {
this._state.HowScale = undefined;
this.api.SetButtonScaleHow(record.value);
this.api.SetButtonFieldScaleHow(record.value);
this.fireEvent('editcomplete', this);
}
},
@ -870,7 +870,7 @@ define([
imgPositionApplyFunc: function (type) {
if (this.api && !this._noApply) {
this.api.SetButtonIconPos(this._state.imgPositionX / 100, (100 - this._state.imgPositionY) / 100);
this.api.SetButtonFieldIconPos(this._state.imgPositionX / 100, (100 - this._state.imgPositionY) / 100);
this.fireEvent('editcomplete', this);
}
},

View File

@ -1437,7 +1437,7 @@
"PDFE.Views.FormSettings.textPlacement": "Icon placement",
"PDFE.Views.FormSettings.textFitBounds": "Fit to bounds",
"PDFE.Views.FormSettings.textProportional": "Proportionally",
"PDFE.Views.FormSettings.textAnamorphic": "Nonproportionally",
"PDFE.Views.FormSettings.textAnamorphic": "Non-proportionally",
"PDFE.Views.FormSettings.textAlways": "Always",
"PDFE.Views.FormSettings.textNever": "Never",
"PDFE.Views.FormSettings.textTooBig": "Image is too big",