|
|
|
@ -21,18 +21,19 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
|
|
|
|
|
render: function () { |
|
|
|
|
var o = this.options, self = this; |
|
|
|
|
BI.FlexLeftRightVerticalAdaptLayout.superclass.render.apply(this, arguments); |
|
|
|
|
var items = this._formatItems(o.items); |
|
|
|
|
return { |
|
|
|
|
type: "bi.flex_vertical_adapt", |
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.layout = _ref; |
|
|
|
|
}, |
|
|
|
|
columnSize: o.columnSize, |
|
|
|
|
items: this._formatItems(o.items), |
|
|
|
|
columnSize: o.columnSize.slice(0, (o.items.left || []).length).concat((o.items.right || []).length > 0 ? [""] : []), |
|
|
|
|
items: items, |
|
|
|
|
scrollx: o.scrollx, |
|
|
|
|
scrolly: o.scrolly, |
|
|
|
|
scrollable: o.scrollable, |
|
|
|
|
innerHgap: o.innerHgap, |
|
|
|
|
innerVgap: o.innerVgap, |
|
|
|
|
innerVgap: o.innerVgap |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|