mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6514 Dark Theme : Use text color from theme instead from QPalette
This commit is contained in:
committed by
Gaute Lindkvist
parent
2cfa900041
commit
ea7da32141
@@ -158,7 +158,7 @@ void RiuQwtSymbol::renderSymbolLabel( QPainter* painter, const QPointF& position
|
||||
QFont font = painter->font();
|
||||
font.setPixelSize( m_labelFontSizePx );
|
||||
painter->setFont( font );
|
||||
painter->setPen( RiaColorTools::systemPaletteTextColor() );
|
||||
painter->setPen( RiaColorTools::textColor() );
|
||||
|
||||
QSize symbolSize = QwtSymbol::size();
|
||||
QRect symbolRect( position.x(), position.y(), symbolSize.width(), symbolSize.height() );
|
||||
|
||||
Reference in New Issue
Block a user