solve the problem "Title gets cut when using TabPageIndicator"