Sets the dimensions of the panel to fill its parent. It will only stretch in directions that aren't nil.