mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve range filter slider gui
This commit is contained in:
@@ -130,7 +130,8 @@ QSize QShortenedLabel::sizeHint() const
|
||||
maxLineWidth = std::max( maxLineWidth, fontMetrics.width( line ) );
|
||||
}
|
||||
|
||||
return QSize( maxLineWidth, QLabel::sizeHint().height() );
|
||||
// increase size hint with a few pixels to avoid linux gui issues
|
||||
return QSize( maxLineWidth + 3, QLabel::sizeHint().height() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user