Size test ratio panel according to length and width.