Calculates dimensions of grid content in logical units.
This method is used to calculate maximal positions of horizontal and vertical scroll bars.