Skip to content

Commit

Permalink
Change default setting for layer space in legend
Browse files Browse the repository at this point in the history
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 386c5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/composer/qgscomposerlegend.cpp
Expand Up @@ -31,7 +31,7 @@ QgsComposerLegend::QgsComposerLegend( QgsComposition* composition )
: QgsComposerItem( composition )
, mTitle( tr( "Legend" ) )
, mBoxSpace( 2 )
, mLayerSpace( 3 )
, mLayerSpace( 2 )
, mSymbolSpace( 2 )
, mIconLabelSpace( 2 )
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 386c5d6

Please sign in to comment.