Skip to content
Snippets Groups Projects
Commit ca4fb85e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

mv size setting (#902)

parent 029bf403
No related branches found
No related tags found
1 merge request!2401get rid of debug messages from QCustomPlot (#902)
Pipeline #132681 passed
......@@ -30,9 +30,6 @@ ProjectedGraphsCanvas::ProjectedGraphsCanvas(QWidget* parent)
, m_y_projection(new ProjectionsPlot(Qt::Vertical))
, m_tab_widget(new QTabWidget)
{
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
setMinimumSize(400, 180);
auto* layout = new QVBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
layout->setSpacing(0);
......
......@@ -35,6 +35,9 @@ public:
void connectItems();
void disconnectItems();
QSize sizeHint() const override { return {500, 200}; }
QSize minimumSizeHint() const override { return {400, 180}; }
public slots:
void onMarginsChanged(double left, double right);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment