guy 3 years ago
parent
commit
8856745406
  1. 5
      src/core/wrapper/layout/layout.td.js

5
src/core/wrapper/layout/layout.td.js

@ -76,13 +76,14 @@ BI.TdLayout = BI.inherit(BI.Layout, {
} }
var height = o.rowSize[idx] === "" ? "" : (o.rowSize[idx] < 1 ? ((o.rowSize[idx] * 100).toFixed(1) + "%") : o.rowSize[idx]); var height = o.rowSize[idx] === "" ? "" : (o.rowSize[idx] < 1 ? ((o.rowSize[idx] * 100).toFixed(1) + "%") : o.rowSize[idx]);
var rowHeight = BI.isNumber(o.rowSize[idx]) ? (o.rowSize[idx] <= 1 ? height : height / BI.pixRatio + BI.pixUnit) : height;
var tr = BI._lazyCreateWidget({ var tr = BI._lazyCreateWidget({
type: "bi.default", type: "bi.default",
tagName: "tr", tagName: "tr",
height: height, height: height,
css: { css: {
"max-height": BI.isNumber(o.rowSize[idx]) ? (o.rowSize[idx] <= 1 ? height : height / BI.pixRatio + BI.pixUnit) : height "max-height": rowHeight,
"min-height": rowHeight
} }
}); });

Loading…
Cancel
Save