Dimension scaling

Dimensions on layout vs dimensions in viewport helped me on the same problem