if (!column.isRendered()) {
// XXX here not index++, because the widthList has only the rendered=true, todo: change it.
continue;
}
if (column instanceof LayoutBox) {
final LayoutBox box = (LayoutBox) column;
Measure width = Measure.valueOf(widthList.get(index));
width = width.subtractNotNegative(LayoutUtils.getBorderBegin(orientation, box));
width = width.subtractNotNegative(LayoutUtils.getPaddingBegin(orientation, box));
width = width.subtractNotNegative(LayoutUtils.getPaddingEnd(orientation, box));
width = width.subtractNotNegative(LayoutUtils.getBorderEnd(orientation, box));