the title's height should respect the bar height

Faced this problem in an app.