Skip to content
Permalink
Browse files
Change default setting for layer space in legend
git-svn-id: http://svn.osgeo.org/qgis/trunk@15753 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 17, 2011
1 parent abfd799 commit 4a1a9634d137374aa2d6f25a9de3061ae3d62802
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 4a1a963

Please sign in to comment.