Browse Source

Pull request #1462: 无jira任务 o

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit 'b6f8e670c876c2b66e6e9ac7f19afd7b8f2c3a15':
  无jira任务 o
master
guy 4 years ago
parent
commit
ad14aaa716
  1. 3
      src/core/wrapper/layout/adapt/inline.center.js

3
src/core/wrapper/layout/adapt/inline.center.js

@ -23,12 +23,13 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, {
}, },
render: function () { render: function () {
var o = this.options;
BI.InlineCenterAdaptLayout.superclass.render.apply(this, arguments); BI.InlineCenterAdaptLayout.superclass.render.apply(this, arguments);
this.element.css({ this.element.css({
whiteSpace: "nowrap", whiteSpace: "nowrap",
textAlign: o.horizontalAlign textAlign: o.horizontalAlign
}); });
this.populate(this.options.items); this.populate(o.items);
}, },
_addElement: function (i, item, length) { _addElement: function (i, item, length) {

Loading…
Cancel
Save