mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6514 Dark Theme : Fix text color in nightcharts
This commit is contained in:
committed by
Gaute Lindkvist
parent
0b44f6ab18
commit
2cfa900041
@@ -17,6 +17,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RiuNightchartsWidget.h"
|
||||
#include "RiuGuiTheme.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -89,6 +90,9 @@ void RiuNightchartsWidget::clear()
|
||||
m_chart.setLegendType( Nightcharts::Vertical );
|
||||
m_chart.setShadows( false );
|
||||
|
||||
auto col = RiuGuiTheme::getColorByVariableName( "textColor" );
|
||||
m_chart.setTextColor( col );
|
||||
|
||||
m_marginLeft = 10;
|
||||
m_marginTop = 10;
|
||||
m_maxNameWidth = 0;
|
||||
|
||||
Reference in New Issue
Block a user