mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[composer] Fix page border is too wide under qt5
This commit is contained in:
parent
71abd4cf8f
commit
6c55e68845
@ -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() ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user