Method for setting TabBar's height