diff --git a/src/case/editor/editor.sign.js b/src/case/editor/editor.sign.js index 6840cd953..f388d3f1c 100644 --- a/src/case/editor/editor.sign.js +++ b/src/case/editor/editor.sign.js @@ -51,7 +51,7 @@ BI.SignEditor = BI.inherit(BI.Widget, { tipType: o.tipType, textAlign: "left", height: o.height, - hgap: 4, + hgap: o.hgap, handler: function () { self._showInput(); self.editor.focus(); diff --git a/src/case/editor/editor.state.js b/src/case/editor/editor.state.js index 14b49ee0e..512effc92 100644 --- a/src/case/editor/editor.state.js +++ b/src/case/editor/editor.state.js @@ -50,7 +50,7 @@ BI.StateEditor = BI.inherit(BI.Widget, { textAlign: "left", height: o.height, text: o.text, - hgap: 4, + hgap: o.hgap, handler: function () { self._showInput(); self.editor.focus(); diff --git a/src/case/editor/editor.state.simple.js b/src/case/editor/editor.state.simple.js index a2486f790..ac4db9221 100644 --- a/src/case/editor/editor.state.simple.js +++ b/src/case/editor/editor.state.simple.js @@ -51,7 +51,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, { textAlign: "left", text: o.text, height: o.height, - hgap: 4, + hgap: o.hgap, handler: function () { self._showInput(); self.editor.focus();