Skip to content
Permalink
Browse files
Fix aligned multi-line labels for print or image output
  • Loading branch information
dakcarto committed Dec 11, 2012
1 parent 024bb11 commit 5de1ad10c5403b5083027e4c7298926b8695a9c7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspallabeling.cpp
@@ -1911,7 +1911,7 @@ void QgsPalLabeling::drawLabel( pal::LabelPosition* label, QPainter* painter, co
{
labelWidthDiff /= 2;
}
xMultiLineOffset = labelWidthDiff * lyr.rasterCompressFactor;
xMultiLineOffset = labelWidthDiff;
//QgsDebugMsg( QString( "xMultiLineOffset: %1" ).arg( xMultiLineOffset ) );
}

0 comments on commit 5de1ad1

Please sign in to comment.