mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 23:50:19 -05:00
2025.04.0 Merge dev into main
This commit is contained in:
1 parent
e9ec8cb718
commit
f96374a6b4
969 files changed
+40872
-31569
No files matched your search
@@ -47,7 +47,7 @@ RiuAbstractOverlayContentFrame::~RiuAbstractOverlayContentFrame()
|
||||
void RiuAbstractOverlayContentFrame::updateFontSize()
|
||||
{
|
||||
QFont font = this->font();
|
||||
font.setPixelSize( caf::FontTools::pointSizeToPixelSize( RiaPreferences::current()->defaultPlotFontSize() ) );
|
||||
font.setPointSize( caf::FontTools::pointSizeFromEnum( RiaPreferences::current()->defaultPlotFontSize() ) );
|
||||
setFont( font );
|
||||
}
|
||||
|
||||
@@ -98,6 +98,6 @@ void RiuTextOverlayContentFrame::renderTo( QPainter* painter, const QRect& targe
|
||||
void RiuTextOverlayContentFrame::updateLabelFont()
|
||||
{
|
||||
QFont font = m_textLabel->font();
|
||||
font.setPixelSize( caf::FontTools::pointSizeToPixelSize( RiaPreferences::current()->defaultPlotFontSize() ) );
|
||||
font.setPointSize( caf::FontTools::pointSizeFromEnum( RiaPreferences::current()->defaultPlotFontSize() ) );
|
||||
m_textLabel->setFont( font );
|
||||
}
|
||||
Reference in new issue
Block a user