Revert "Set height with size parameter"

This reverts commit f8d6ce0c10fb5b912ffc39b960e51d4571e08a78.