Browse Source

Pull request #2062: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '0c9d4c7c49b9bc62dd0c2c645ad97f99125ec24a':
  bugfix
es6
guy 3 years ago
parent
commit
1f7f7d4981
  1. 2
      src/core/wrapper/layout/layout.inline.js

2
src/core/wrapper/layout/layout.inline.js

@ -56,7 +56,7 @@ BI.InlineLayout = BI.inherit(BI.Layout, {
for (var k = 0; k < i; k++) {
left += o.hgap + o.lgap + o.rgap + (o.columnSize[k] || o.items[k].width);
}
for (var k = i + 1; k < o.columnSize.length; k++) {
for (var k = i + 1, len = o.columnSize.length || o.items.length; k < len; k++) {
right += o.hgap + o.lgap + o.rgap + (o.columnSize[k] || o.items[k].width);
}
if (columnSize === "fill") {

Loading…
Cancel
Save