Skip to content

Commit

Permalink
Fix aligned multi-line labels for print or image output
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Dec 11, 2012
1 parent 024bb11 commit 5de1ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
}

Expand Down

0 comments on commit 5de1ad1

Please sign in to comment.