Browse Source

Merge pull request #1021 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit 'b44e2b67da4d293efd5e0637d5d924b9000acc7b':
  BI-48109 fix: 带有text的editor gap设置同步
es6
guy 5 years ago
parent
commit
e11d95ca28
  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