Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for considering layer title length in composer legend
  • Loading branch information
mhugent committed Jul 13, 2011
1 parent 4b03014 commit 70bdbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerlegend.cpp
Expand Up @@ -333,7 +333,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 70bdbfb

Please sign in to comment.