|
|
@ -43,18 +43,14 @@ BI.InlineLayout = BI.inherit(BI.Layout, { |
|
|
|
columnSize = null; |
|
|
|
columnSize = null; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (columnSize > 0) { |
|
|
|
|
|
|
|
w.element.width(columnSize < 1 ? ((columnSize * 100).toFixed(1) + "%") : (columnSize / BI.pixRatio + BI.pixUnit)); |
|
|
|
|
|
|
|
} |
|
|
|
w.element.css({ |
|
|
|
w.element.css({ |
|
|
|
position: "relative", |
|
|
|
position: "relative", |
|
|
|
"vertical-align": o.verticalAlign, |
|
|
|
"vertical-align": o.verticalAlign |
|
|
|
width: "auto", |
|
|
|
|
|
|
|
"min-width": "auto", |
|
|
|
|
|
|
|
"max-width": "none" |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
w.element.addClass("i-item"); |
|
|
|
w.element.addClass("i-item"); |
|
|
|
|
|
|
|
|
|
|
|
if (columnSize > 0) { |
|
|
|
|
|
|
|
w.element.width(columnSize < 1 ? ((columnSize * 100).toFixed(1) + "%") : (columnSize / BI.pixRatio + BI.pixUnit)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (columnSize === "fill" || columnSize === "") { |
|
|
|
if (columnSize === "fill" || columnSize === "") { |
|
|
|
var length = o.hgap; |
|
|
|
var length = o.hgap; |
|
|
|
var fillCount = 0, autoCount = 0; |
|
|
|
var fillCount = 0, autoCount = 0; |
|
|
|