Skip to content

Commit

Permalink
Fix alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 7, 2020
1 parent b062fa2 commit aabf979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/textrenderer/qgstextrenderer.cpp
Expand Up @@ -1191,7 +1191,7 @@ void QgsTextRenderer::drawTextInternal( TextPart drawType,
break;

case Rect:
labelWidest = component.size.width() / fontScale;
labelWidest = component.size.width();
break;
}

Expand Down

0 comments on commit aabf979

Please sign in to comment.