Skip to content
Permalink
Browse files
Change default setting for layer space in legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15753 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 17, 2011
1 parent 0c463d3 commit 386c5d633b0810e48b5372e50f1184f0b272a664
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/composer/qgscomposerlegend.cpp
@@ -31,7 +31,7 @@ QgsComposerLegend::QgsComposerLegend( QgsComposition* composition )
: QgsComposerItem( composition )
, mTitle( tr( "Legend" ) )
, mBoxSpace( 2 )
, mLayerSpace( 3 )
, mLayerSpace( 2 )
, mSymbolSpace( 2 )
, mIconLabelSpace( 2 )
{
@@ -217,7 +217,7 @@ void QgsComposerLegend::drawLayerItem( QPainter* p, QgsComposerLayerItem* layerI
else //layer title omited
{
//symbol space will be added before the item later
currentYCoord += (mLayerSpace - mSymbolSpace);
currentYCoord += ( mLayerSpace - mSymbolSpace );
}

//and child items

0 comments on commit 386c5d6

Please sign in to comment.