Skip to content

Commit decbd9d

Browse files
Fix bugs
1 parent dc7433d commit decbd9d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/pdfeditor/main/app/view/FormSettings.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -814,30 +814,30 @@ define([
814814
onLayoutChanged: function(combo, record) {
815815
if (this.api && !this._noApply) {
816816
this._state.Layout = undefined;
817-
this.api.SetButtonLayout(record.value);
817+
this.api.SetButtonFieldLayout(record.value);
818818
this.fireEvent('editcomplete', this);
819819
}
820820
},
821821

822822
onChFit: function(field, newValue, oldValue, eOpts){
823823
if (this.api && !this._noApply) {
824-
this.api.SetButtonFitBounds(field.getValue()==='checked');
824+
this.api.SetButtonFieldFitBounds(field.getValue()==='checked');
825825
this.fireEvent('editcomplete', this);
826826
}
827827
},
828828

829829
onScaleChanged: function(combo, record) {
830830
if (this.api && !this._noApply) {
831831
this._state.Scale = undefined;
832-
this.api.SetButtonScaleWhen(record.value);
832+
this.api.SetButtonFieldScaleWhen(record.value);
833833
this.fireEvent('editcomplete', this);
834834
}
835835
},
836836

837837
onHowScaleChanged: function(combo, record) {
838838
if (this.api && !this._noApply) {
839839
this._state.HowScale = undefined;
840-
this.api.SetButtonScaleHow(record.value);
840+
this.api.SetButtonFieldScaleHow(record.value);
841841
this.fireEvent('editcomplete', this);
842842
}
843843
},
@@ -870,7 +870,7 @@ define([
870870

871871
imgPositionApplyFunc: function (type) {
872872
if (this.api && !this._noApply) {
873-
this.api.SetButtonIconPos(this._state.imgPositionX / 100, (100 - this._state.imgPositionY) / 100);
873+
this.api.SetButtonFieldIconPos(this._state.imgPositionX / 100, (100 - this._state.imgPositionY) / 100);
874874
this.fireEvent('editcomplete', this);
875875
}
876876
},

apps/pdfeditor/main/locale/en.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@
14371437
"PDFE.Views.FormSettings.textPlacement": "Icon placement",
14381438
"PDFE.Views.FormSettings.textFitBounds": "Fit to bounds",
14391439
"PDFE.Views.FormSettings.textProportional": "Proportionally",
1440-
"PDFE.Views.FormSettings.textAnamorphic": "Nonproportionally",
1440+
"PDFE.Views.FormSettings.textAnamorphic": "Non-proportionally",
14411441
"PDFE.Views.FormSettings.textAlways": "Always",
14421442
"PDFE.Views.FormSettings.textNever": "Never",
14431443
"PDFE.Views.FormSettings.textTooBig": "Image is too big",

0 commit comments

Comments
 (0)