mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Better automatic resize for legend box
git-svn-id: http://svn.osgeo.org/qgis/trunk@9263 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
58fbdfbb37
commit
bda31792e1
@ -270,8 +270,8 @@ void QgsComposerLegend::drawPointSymbol( QPainter* p, QgsSymbol* s, double curre
|
||||
p->restore();
|
||||
}
|
||||
|
||||
currentXPosition += pointImage.width() / rasterScaleFactor;
|
||||
symbolHeight = pointImage.height() / rasterScaleFactor;
|
||||
currentXPosition += s->pointSize(); //pointImage.width() / rasterScaleFactor;
|
||||
symbolHeight = s->pointSize(); //pointImage.height() / rasterScaleFactor;
|
||||
}
|
||||
|
||||
void QgsComposerLegend::drawLineSymbol( QPainter* p, QgsSymbol* s, double currentYCoord, double& currentXPosition ) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user