Browse Source

BI-48109 fix: 带有text的editor gap设置同步

es6
windy 6 years ago
parent
commit
b44e2b67da
  1. 2
      src/case/editor/editor.sign.js
  2. 2
      src/case/editor/editor.state.js
  3. 2
      src/case/editor/editor.state.simple.js

2
src/case/editor/editor.sign.js

@ -51,7 +51,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: "left", textAlign: "left",
height: o.height, height: o.height,
hgap: 4, hgap: o.hgap,
handler: function () { handler: function () {
self._showInput(); self._showInput();
self.editor.focus(); self.editor.focus();

2
src/case/editor/editor.state.js

@ -50,7 +50,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
textAlign: "left", textAlign: "left",
height: o.height, height: o.height,
text: o.text, text: o.text,
hgap: 4, hgap: o.hgap,
handler: function () { handler: function () {
self._showInput(); self._showInput();
self.editor.focus(); self.editor.focus();

2
src/case/editor/editor.state.simple.js

@ -51,7 +51,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, {
textAlign: "left", textAlign: "left",
text: o.text, text: o.text,
height: o.height, height: o.height,
hgap: 4, hgap: o.hgap,
handler: function () { handler: function () {
self._showInput(); self._showInput();
self.editor.focus(); self.editor.focus();

Loading…
Cancel
Save