Skip to content

Commit

Permalink
Fix for considering layer title length in composer legend
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 13, 2011
1 parent 587ecf4 commit 0a2e74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerlegend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ void QgsComposerLegend::drawLayerChildItems( QPainter* p, QStandardItem* layerIt
textAlignCoord = qMax( currentXCoord, textAlignCoord );
}

maxXCoord = textAlignCoord;
maxXCoord = qMax( maxXCoord, textAlignCoord );
for ( int i = 0; i < numChildren; ++i )
{
if ( p )
Expand Down

0 comments on commit 0a2e74e

Please sign in to comment.