Skip to content

Commit

Permalink
frame width depends on composition scale
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5506 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jun 5, 2006
1 parent e9560c0 commit d18462a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composer/qgscomposermap.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit d18462a

Please sign in to comment.