Fix #5851: Implement EffectRackView::sizeHint() (#7428)

* Fix #5851: Implement `EffectRackView::sizeHint()`

This fixes `EffectRackView` to have a permanent size hint instead of
resizing the widget once in `InstrumentTrackWindow`. The size hint tells
the `InstrumentTrackWindow` to not increase with a growing number of
effects in the `EffectRackView`.
This commit is contained in:
Johannes Lorenz
2024-08-10 05:30:06 +02:00
committed by GitHub
parent 632966caee
commit 44a8b038f5
3 changed files with 12 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ private slots:
private:
void modelChanged() override;
QSize sizeHint() const override;
QSize minimumSizeHint() const override { return sizeHint(); }
inline EffectChain* fxChain()
{