Instead of relying on the (unreliable) intrinsic content size, using string metrics as an alternative would allow us to remove these worrisome magic numbers. Since this method isn't called repeatedly, performance shouldn't be a concern.