Fix macro segment widgets being squashed below a sensible minimum size

Now a horizontal scroll bar will be displayed in the corresponding
MacroSegmentList widget instead.
This commit is contained in:
WarmUpTill 2023-12-28 03:04:39 +01:00 committed by WarmUpTill
parent 7b1a57070d
commit f0df9ead3c

View File

@ -125,6 +125,7 @@ bool Section::eventFilter(QObject *obj, QEvent *event)
// filter will cause a segfault for some reason
SetupAnimations();
}
setMinimumWidth(_content->sizeHint().width());
}
return QObject::eventFilter(obj, event);
}