Adds getSize to gridLayout