|
|
|
@ -33,9 +33,13 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
|
|
|
|
|
var o = this.options; |
|
|
|
|
var w = BI.FlexWrapperHorizontalLayout.superclass._addElement.apply(this, arguments); |
|
|
|
|
w.element.css({ |
|
|
|
|
position: "relative", |
|
|
|
|
"flex-shrink": "0" |
|
|
|
|
position: "relative" |
|
|
|
|
}); |
|
|
|
|
if (o.horizontalAlign === BI.HorizontalAlign.Left || o.horizontalAlign === BI.HorizontalAlign.Right) { |
|
|
|
|
w.element.css({ |
|
|
|
|
"flex-shrink": "0" |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
if (o.columnSize[i] > 0) { |
|
|
|
|
w.element.width(o.columnSize[i] <= 1 ? (o.columnSize[i] * 100 + "%") : o.columnSize[i]); |
|
|
|
|
} |
|
|
|
|