Rename constrainToAllEdges to fill. Add fillHorizontally and fillVertically.