Sets relative height to buttons