From b44e2b67da4d293efd5e0637d5d924b9000acc7b Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 17 Jul 2019 10:49:54 +0800 Subject: [PATCH] =?UTF-8?q?BI-48109=20fix:=20=E5=B8=A6=E6=9C=89text?= =?UTF-8?q?=E7=9A=84editor=20gap=E8=AE=BE=E7=BD=AE=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/editor/editor.sign.js | 2 +- src/case/editor/editor.state.js | 2 +- src/case/editor/editor.state.simple.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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();