Skip to content
Permalink
Browse files
[composer] Fix page border is too wide under qt5
  • Loading branch information
nyalldawson committed Jan 23, 2017
1 parent 71abd4c commit 6c55e688454ae97914861c67fb7f39bef9c7bf4b
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/composer/qgspaperitem.cpp
@@ -177,7 +177,9 @@ void QgsPaperItem::paint( QPainter* painter, const QStyleOptionGraphicsItem* ite

//page area
painter->setBrush( QColor( 215, 215, 215 ) );
painter->setPen( QPen( QColor( 100, 100, 100 ) ) );
QPen pagePen = QPen( QColor( 100, 100, 100 ), 0 );
pagePen.setCosmetic( true );
painter->setPen( pagePen );
painter->drawRect( QRectF( 0, 0, rect().width(), rect().height() ) );
}

0 comments on commit 6c55e68

Please sign in to comment.