mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 15:41:00 -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
@@ -38,7 +38,7 @@ RiuTextContentFrame::RiuTextContentFrame( QWidget* parent, const QString& title,
|
||||
: RiuAbstractOverlayContentFrame( parent )
|
||||
, m_title( title )
|
||||
, m_text( text )
|
||||
, m_fontPixelSize( fontPixelSize )
|
||||
, m_fontSize( fontPixelSize )
|
||||
{
|
||||
setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Maximum );
|
||||
|
||||
@@ -170,10 +170,10 @@ void RiuTextContentFrame::layoutInfo( LayoutInfo* layout ) const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuTextContentFrame::updateFontSize()
|
||||
{
|
||||
if ( m_fontPixelSize != -1 )
|
||||
if ( m_fontSize != -1 )
|
||||
{
|
||||
QFont font = this->font();
|
||||
font.setPixelSize( m_fontPixelSize );
|
||||
font.setPointSize( m_fontSize );
|
||||
setFont( font );
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user