|
|
@ -8,7 +8,6 @@ BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
return BI.extend(BI.HorizontalAdaptLayout.superclass.props.apply(this, arguments), { |
|
|
|
return BI.extend(BI.HorizontalAdaptLayout.superclass.props.apply(this, arguments), { |
|
|
|
baseCls: "bi-horizontal-adapt-layout", |
|
|
|
baseCls: "bi-horizontal-adapt-layout", |
|
|
|
verticalAlign: BI.VerticalAlign.Top, |
|
|
|
verticalAlign: BI.VerticalAlign.Top, |
|
|
|
horizontalAlign: BI.HorizontalAlign.Center, |
|
|
|
|
|
|
|
columnSize: [], |
|
|
|
columnSize: [], |
|
|
|
scrollx: false, |
|
|
|
scrollx: false, |
|
|
|
hgap: 0, |
|
|
|
hgap: 0, |
|
|
@ -24,8 +23,8 @@ BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
BI.HorizontalAdaptLayout.superclass.render.apply(this, arguments); |
|
|
|
BI.HorizontalAdaptLayout.superclass.render.apply(this, arguments); |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: "bi.horizontal", |
|
|
|
type: "bi.horizontal", |
|
|
|
verticalAlign: BI.VerticalAlign.Top, |
|
|
|
verticalAlign: o.verticalAlign, |
|
|
|
horizontalAlign: o.horizontalAlign, |
|
|
|
horizontalAlign: BI.HorizontalAlign.Stretch, |
|
|
|
columnSize: o.columnSize, |
|
|
|
columnSize: o.columnSize, |
|
|
|
items: o.items, |
|
|
|
items: o.items, |
|
|
|
scrollx: o.scrollx, |
|
|
|
scrollx: o.scrollx, |
|
|
|