use fontMetrics.height() rather than boundingRect(...).height()
the height of the title bar should not depend on the caption content. CCBUG: 380391
parent
1fe4c5ed
Please register or sign in to comment
the height of the title bar should not depend on the caption content. CCBUG: 380391