Commit 8556cb4a authored by David Faure's avatar David Faure
Browse files

Fix headerview height when the text contains '\n'

parent e5c6a321
Pipeline #131979 passed with stage
in 2 minutes and 2 seconds
......@@ -3201,7 +3201,7 @@ namespace Breeze
}
// contents height
int contentsHeight( headerOption->fontMetrics.height() );
int contentsHeight( hasText ? textSize.height() : headerOption->fontMetrics.height() );
if( hasIcon ) contentsHeight = qMax( contentsHeight, iconSize.height() );
if( horizontal && headerOption->sortIndicator != QStyleOptionHeader::None )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment