           child.getPendingCurrentSize().x
 
       offset += gridSize
+    null
 
   defaultWidthOfEachLine = (i, widthOfEachLine) -> widthOfEachLine[i]
   alignChildren = (state, parentSize, childrenSize) ->

  ) ->
    return point0 unless children?.length > 0

    tMin = lMin = bMax = rMax = 0
    l = r = t = b = 0
    first = true

    if customComputeChildArea = element.getPendingChildArea()
      for child in children

        area = customComputeChildArea child, reusableRectForChildrenSizeCalc

          rMax = max r, rMax
          bMax = max b, bMax

      sizeWithPadding (rMax - lMin), (bMax - tMin), currentPadding

    else
      for child in children
        rMax = max rMax, child.getPendingMaxXInParentSpace()
        bMax = max bMax, child.getPendingMaxYInParentSpace()

      sizeWithPadding rMax, bMax, currentPadding

  # NOTE: grid layout determines an area dedicated to each element.
  #   This area is passed to the element as-if it was the parent's full children-area
