Resize by the layout manager