Improve range filter slider gui

This commit is contained in:
jonjenssen
2023-01-19 20:18:27 +01:00
committed by jonjenssen
parent 53a80cd86a
commit 56dd33e762
3 changed files with 49 additions and 19 deletions

View File

@@ -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() );
}
//--------------------------------------------------------------------------------------------------