Adjust width and dividerposition.