Skip to content
Permalink
Browse files
Fix legend item label problem #2727
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 768acbce545f6aff6a2f851eebaeeabcd55373a8
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/core/composer/qgscomposerlegend.cpp
@@ -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()

0 comments on commit 768acbc

Please sign in to comment.