|
|
|
@ -2,6 +2,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
|
|
|
|
|
props: function () { |
|
|
|
|
return BI.extend(BI.FlexLeftRightVerticalAdaptLayout.superclass.props.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-f-lr-v-c", |
|
|
|
|
columnSize: [], |
|
|
|
|
items: {}, |
|
|
|
|
llgap: 0, |
|
|
|
|
lrgap: 0, |
|
|
|
@ -25,6 +26,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
|
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.layout = _ref; |
|
|
|
|
}, |
|
|
|
|
columnSize: o.columnSize, |
|
|
|
|
items: this._formatItems(o.items), |
|
|
|
|
scrollx: o.scrollx, |
|
|
|
|
scrolly: o.scrolly, |
|
|
|
@ -70,6 +72,7 @@ BI.FlexLeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
|
|
|
|
|
return leftItems.concat({ |
|
|
|
|
el: { |
|
|
|
|
type: "bi.flex_vertical_adapt", |
|
|
|
|
columnSize: o.columnSize.slice(leftItems.length), |
|
|
|
|
css: { |
|
|
|
|
"margin-left": "auto" |
|
|
|
|
}, |
|
|
|
|