Resizable: account for padding & border in grids.

was following what was already there. This is an extracted method.