From f0e1a4c4b67d359971d642891c105d5de0613afb Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Tue, 17 Dec 2019 21:47:46 -0500 Subject: [PATCH] Children collapsible should be false --- widegraph.cpp | 3 +++ widegraph.ui | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/widegraph.cpp b/widegraph.cpp index 3196eb8..b898465 100644 --- a/widegraph.cpp +++ b/widegraph.cpp @@ -40,6 +40,9 @@ WideGraph::WideGraph(QSettings * settings, QWidget *parent) : setMaximumWidth (MAX_SCREENSIZE); setMaximumHeight (880); + ui->splitter->setChildrenCollapsible(false); + ui->splitter->updateGeometry(); + auto filterEscapeEater = new KeyPressEater(); connect(filterEscapeEater, &KeyPressEater::keyPressed, this, [this](QObject */*obj*/, QKeyEvent *e, bool *pProcessed){ if(e->key() != Qt::Key_Escape){ diff --git a/widegraph.ui b/widegraph.ui index 671d0e1..0c958bf 100644 --- a/widegraph.ui +++ b/widegraph.ui @@ -101,6 +101,12 @@ 0 + + + 100 + 0 + + 0