#6663, #6673 Fix black text in Ensemble legend frame and wrong PDF-rendering

This commit is contained in:
Gaute Lindkvist
2020-10-01 10:35:57 +02:00
parent d33ddf24c7
commit 135ca97ba4
6 changed files with 43 additions and 15 deletions

View File

@@ -101,6 +101,7 @@
#include "RimWellRftPlot.h"
#include "Riu3DMainWindowTools.h"
#include "RiuGuiTheme.h"
#include "RiuViewer.h"
#include "RiuViewerCommands.h"
@@ -1223,6 +1224,8 @@ void RiaApplication::applyPreferences()
m_defaultAnnotationFont = RiaFontCache::getFont( fontSizes[RiaDefines::FontSettingType::ANNOTATION_FONT] );
m_defaultWellLabelFont = RiaFontCache::getFont( fontSizes[RiaDefines::FontSettingType::WELL_LABEL_FONT] );
RiuGuiTheme::updateGuiTheme( m_preferences->guiTheme() );
if ( this->project() )
{
this->project()->setScriptDirectories( m_preferences->scriptDirectories() );

View File

@@ -219,7 +219,8 @@ enum class ThemeEnum
{
DEFAULT,
DARK,
LIGHT
LIGHT,
UNDEFINED
};
}; // namespace RiaDefines