Set height automatically.