Fix bezier curve doesn't appear properly in stack

parent 0f81a76e
Pipeline #9837 passed with stage
in 13 minutes and 14 seconds
......@@ -75,6 +75,7 @@ protected:
void slotUpdatePointH2(double /*value*/, bool final);
void slotSetHandlesLinked(bool linked);
void slotShowAllHandles(bool show);
void resizeEvent(QResizeEvent *event) override;
public slots:
/** @brief Toggle the comments on or off
......
......@@ -426,3 +426,9 @@ template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::setMaxPo
{
m_edit->setMaxPoints(max);
}
template <typename CurveWidget_t> void CurveParamWidget<CurveWidget_t>::resizeEvent(QResizeEvent *e)
{
QWidget::resizeEvent(e);
emit updateHeight();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment