File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2828#include < string_view>
2929
3030#include < QBoxLayout>
31+ #include < QSizePolicy>
3132
3233#include " EnvelopeGraph.h"
3334#include " LfoGraph.h"
@@ -85,6 +86,7 @@ EnvelopeAndLfoView::EnvelopeAndLfoView(QWidget * parent) :
8586
8687 m_envelopeGraph = new EnvelopeGraph (this );
8788 graphAndAmountLayout->addWidget (m_envelopeGraph);
89+ m_envelopeGraph->setSizePolicy (QSizePolicy::Expanding, QSizePolicy::Expanding);
8890
8991 m_amountKnob = buildKnob (tr (" AMT" ), tr (" Modulation amount:" ));
9092 graphAndAmountLayout->addWidget (m_amountKnob, 0 , Qt::AlignCenter);
@@ -124,6 +126,7 @@ EnvelopeAndLfoView::EnvelopeAndLfoView(QWidget * parent) :
124126 lfoLayout->addLayout (graphAndTypesLayout);
125127
126128 m_lfoGraph = new LfoGraph (this );
129+ m_lfoGraph->setSizePolicy (QSizePolicy::Expanding, QSizePolicy::Expanding);
127130 graphAndTypesLayout->addWidget (m_lfoGraph);
128131
129132 QHBoxLayout* typesLayout = new QHBoxLayout ();
You can’t perform that action at this time.
0 commit comments