|
|
|
@ -36,12 +36,15 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
|
|
|
|
|
w.element.css({ |
|
|
|
|
position: "relative" |
|
|
|
|
}); |
|
|
|
|
if (o.columnSize[i] !== "auto") { |
|
|
|
|
if (!(o.horizontalAlign === BI.HorizontalAlign.Stretch && (o.columnSize[i] === "fill" || o.columnSize[i] === ""))) { |
|
|
|
|
if (o.columnSize[i] === "fill" || o.columnSize[i] === "") { |
|
|
|
|
if (o.horizontalAlign !== BI.HorizontalAlign.Stretch) { |
|
|
|
|
if (o.scrollable === true || o.scrollx === true) { |
|
|
|
|
w.element.addClass("f-s-n"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (o.columnSize[i] > 0) { |
|
|
|
|
w.element.addClass("f-s-n"); |
|
|
|
|
w.element.width(o.columnSize[i] === "" ? "" : (o.columnSize[i] <= 1 ? ((o.columnSize[i] * 100).toFixed(1) + "%") : (o.columnSize[i] / BI.pixRatio + BI.pixUnit))); |
|
|
|
|
} |
|
|
|
|
if (o.columnSize[i] === "fill") { |
|
|
|
|