mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
frame width depends on composition scale
git-svn-id: http://svn.osgeo.org/qgis/trunk@5506 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
17a22b8ed0
commit
2e95fe163d
@ -294,7 +294,7 @@ void QgsComposerMap::draw ( QPainter & painter )
|
||||
// Draw frame around
|
||||
if ( mFrame ) {
|
||||
QPen pen(QColor(0,0,0));
|
||||
pen.setWidthF(0.2);
|
||||
pen.setWidthF(0.2*mComposition->scale());
|
||||
painter.setPen( pen );
|
||||
painter.setBrush( Qt::NoBrush );
|
||||
painter.save();
|
||||
|
Loading…
x
Reference in New Issue
Block a user