Adjust sizer flags and modify the border.