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 4b03014 commit 70bdbfb
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 @@ -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.