mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-06 21:31:23 +01:00
StretchHeaderView: Set default section size
As of Qt 6.6.1, style changes are resetting the column sizes. To prevent this, we set a default section size. Fixes #1328
This commit is contained in:
parent
84c6e09c42
commit
135b93a5af
@ -46,6 +46,7 @@ StretchHeaderView::StretchHeaderView(const Qt::Orientation orientation, QWidget
|
||||
QObject::connect(this, &StretchHeaderView::sectionResized, this, &StretchHeaderView::SectionResized);
|
||||
setMinimumSectionSize(kMinimumColumnWidth);
|
||||
setTextElideMode(Qt::ElideRight);
|
||||
setDefaultSectionSize(100);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user