Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix legend item label problem #2727
git-svn-id: http://svn.osgeo.org/qgis/trunk@13525 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 18, 2010
1 parent 7366f4c commit bd89a91
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 bd89a91

Please sign in to comment.