change text layout, use boundingRect() instead of tightBoundingRect()