Use boundingRect to get title size.