seperate fitting in width and height for layouts