guy 3 years ago
parent
commit
126a9fdca1
  1. 8
      src/core/wrapper/layout/layout.tape.js

8
src/core/wrapper/layout/layout.tape.js

@ -87,7 +87,7 @@ BI.HTapeLayout = BI.inherit(BI.Layout, {
if (o.columnSize[i] === "" || o.columnSize[i] === "fill") { if (o.columnSize[i] === "" || o.columnSize[i] === "fill") {
return true; return true;
} }
if (o.columnSize.length > 0 && !BI.isNumber(item.width)) { if (o.columnSize.length <= 0 && !BI.isNumber(item.width)) {
return true; return true;
} }
}); });
@ -116,7 +116,7 @@ BI.HTapeLayout = BI.inherit(BI.Layout, {
if (o.columnSize[i] === "" || o.columnSize[i] === "fill") { if (o.columnSize[i] === "" || o.columnSize[i] === "fill") {
return true; return true;
} }
if (o.columnSize.length > 0 && !BI.isNumber(item.width)) { if (o.columnSize.length <= 0 && !BI.isNumber(item.width)) {
return true; return true;
} }
}); });
@ -227,7 +227,7 @@ BI.VTapeLayout = BI.inherit(BI.Layout, {
if (o.rowSize[i] === "" || o.rowSize[i] === "fill") { if (o.rowSize[i] === "" || o.rowSize[i] === "fill") {
return true; return true;
} }
if (o.rowSize.length > 0 && !BI.isNumber(item.height)) { if (o.rowSize.length <= 0 && !BI.isNumber(item.height)) {
return true; return true;
} }
}); });
@ -256,7 +256,7 @@ BI.VTapeLayout = BI.inherit(BI.Layout, {
if (o.rowSize[i] === "" || o.rowSize[i] === "fill") { if (o.rowSize[i] === "" || o.rowSize[i] === "fill") {
return true; return true;
} }
if (o.rowSize.length > 0 && !BI.isNumber(item.height)) { if (o.rowSize.length <= 0 && !BI.isNumber(item.height)) {
return true; return true;
} }
}); });

Loading…
Cancel
Save