@ -8,7 +8,8 @@
BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexWrapperHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-f-s-h clearfix",
// 逆天的IE设置min-height撑不起来高度
baseCls: "bi-f-s-h clearfix" + (BI.isIE() ? " hack" : ""),
verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [],
BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
return BI.extend(BI.FlexWrapperVerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-f-s-v clearfix",
baseCls: "bi-f-s-v clearfix" + (BI.isIE() ? " hack" : ""),
rowSize: [],
@ -29,6 +29,12 @@
}
.bi-f-s-h, .bi-flex-scrollable-horizontal-layout {
&.hack {
& .f-s-h-w, & .flex-scrollable-horizontal-layout-wrapper {
height: 100%;
.flex();
.horizontal();
@ -29,6 +29,14 @@
.bi-f-s-v, .bi-flex-scrollable-vertical-layout {
& .f-s-v-w, & .flex-scrollable-vertical-layout-wrapper {
&.h-center.v-middle {
.vertical();