Browse Source

Pull request #2069: 无JIRA任务 bugfix

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

* commit '1d245d2b586a34de7758413f6e6870b96b41e9ae':
  add
es6
guy 3 years ago
parent
commit
a4760f9c4d
  1. 3
      src/core/platform/web/config.js

3
src/core/platform/web/config.js

@ -120,7 +120,8 @@ BI.prepares.push(function () {
if ((ob.horizontalAlign && ob.horizontalAlign !== BI.HorizontalAlign.Stretch) || (ob.scrollable === true || ob.scrollx === true)) { if ((ob.horizontalAlign && ob.horizontalAlign !== BI.HorizontalAlign.Stretch) || (ob.scrollable === true || ob.scrollx === true)) {
// 宽度不受限,要用table布局 // 宽度不受限,要用table布局
return BI.extend({ return BI.extend({
horizontalAlign: BI.HorizontalAlign.Stretch horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch,
}, ob, {type: "bi.table_adapt"}); }, ob, {type: "bi.table_adapt"});
} }
return BI.extend({}, ob, {type: "bi.horizontal_float_fill"}); return BI.extend({}, ob, {type: "bi.horizontal_float_fill"});

Loading…
Cancel
Save