Skip to content

Commit

Permalink
followup commit d2360da : fix rendering of vertical lines on multilin…
Browse files Browse the repository at this point in the history
…e headers
  • Loading branch information
nirvn authored and nyalldawson committed Apr 1, 2020
1 parent 450d32a commit 02afd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/layout/qgslayouttable.cpp
Expand Up @@ -1253,7 +1253,7 @@ void QgsLayoutTable::drawVerticalGridLines( QPainter *painter, const QMap<int, d
double tableHeight = 0;
if ( hasHeader )
{
tableHeight += ( mShowGrid && mHorizontalGrid ? mGridStrokeWidth : 0 ) + mCellMargin * 2 + QgsLayoutUtils::fontAscentMM( mHeaderFont );
tableHeight += ( mShowGrid && mHorizontalGrid ? mGridStrokeWidth : 0 ) + mCellMargin * 2 + mMaxRowHeightMap[0];
}
tableHeight += ( mShowGrid && mHorizontalGrid ? mGridStrokeWidth : 0 );
double headerHeight = tableHeight;
Expand Down

0 comments on commit 02afd62

Please sign in to comment.