Skip to content

Commit

Permalink
Fix legend item label problem #2727
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13525 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 18, 2010
1 parent 69a153e commit 768acbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/composer/qgscomposerlegend.cpp
Expand Up @@ -207,10 +207,9 @@ void QgsComposerLegend::drawLayerItem( QPainter* p, QgsComposerLayerItem* layerI
}

maxXCoord = std::max( maxXCoord, 2 * mBoxSpace + textWidthMillimeters( mLayerFont, layerItem->text() ) );

//and child items
drawLayerChildItems( p, layerItem, currentYCoord, maxXCoord, opacity );
}
//and child items
drawLayerChildItems( p, layerItem, currentYCoord, maxXCoord, opacity );
}

void QgsComposerLegend::adjustBoxSize()
Expand Down

0 comments on commit 768acbc

Please sign in to comment.