Lines Matching refs:remainingSpace
341 int remainingSpace = 0; in layoutHorizontalBox() local
479 remainingSpace = borderLeft() + paddingLeft() + contentWidth() - xPos; in layoutHorizontalBox()
486 if (!remainingSpace) in layoutHorizontalBox()
492 bool expanding = remainingSpace > 0; in layoutHorizontalBox()
495 for (unsigned int i = start; i <= end && remainingSpace; i++) { in layoutHorizontalBox()
497 int groupRemainingSpace = remainingSpace; in layoutHorizontalBox()
541 remainingSpace -= spaceAdd; in layoutHorizontalBox()
557 remainingSpace -= spaceAdd; in layoutHorizontalBox()
576 if (remainingSpace > 0 && ((style()->direction() == LTR && style()->boxPack() != BSTART) || in layoutHorizontalBox()
611 offset += remainingSpace/totalChildren; in layoutHorizontalBox()
612 remainingSpace -= (remainingSpace/totalChildren); in layoutHorizontalBox()
621 offset += remainingSpace/2; in layoutHorizontalBox()
623 offset += remainingSpace; in layoutHorizontalBox()
652 int remainingSpace = 0; in layoutVerticalBox() local
857 remainingSpace = borderTop() + paddingTop() + contentHeight() - yPos; in layoutVerticalBox()
863 if (!remainingSpace) in layoutVerticalBox()
869 bool expanding = remainingSpace > 0; in layoutVerticalBox()
872 for (unsigned int i = start; i <= end && remainingSpace; i++) { in layoutVerticalBox()
874 int groupRemainingSpace = remainingSpace; in layoutVerticalBox()
918 remainingSpace -= spaceAdd; in layoutVerticalBox()
934 remainingSpace -= spaceAdd; in layoutVerticalBox()
951 if (style()->boxPack() != BSTART && remainingSpace > 0) { in layoutVerticalBox()
985 offset += remainingSpace/totalChildren; in layoutVerticalBox()
986 remainingSpace -= (remainingSpace/totalChildren); in layoutVerticalBox()
994 offset += remainingSpace/2; in layoutVerticalBox()
996 offset += remainingSpace; in layoutVerticalBox()