Auto resize to fit content height.