set the with first and then the height