From a15a50b96ca057a42b8b4d23163084f07a79d14a Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Sat, 28 Mar 2020 02:53:50 +0100 Subject: [PATCH] Make the parser demo UI a bit more practical --- tests/DemoParser.cpp | 3 +++ tests/DemoParser.ui | 13 +------------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/tests/DemoParser.cpp b/tests/DemoParser.cpp index 278cb353..f7931694 100644 --- a/tests/DemoParser.cpp +++ b/tests/DemoParser.cpp @@ -99,6 +99,9 @@ void Application::init() _ui.messageTable->setHorizontalHeaderLabels(QStringList() << tr("Type") << tr("Line") << tr("Message")); _ui.messageTable->horizontalHeader()->setStretchLastSection(true); + _ui.splitter->setStretchFactor(0, 3); + _ui.splitter->setStretchFactor(1, 1); + window->show(); _parser.setListener(this); diff --git a/tests/DemoParser.ui b/tests/DemoParser.ui index 6198fd1a..01404639 100644 --- a/tests/DemoParser.ui +++ b/tests/DemoParser.ui @@ -7,7 +7,7 @@ 0 0 800 - 600 + 800 @@ -35,17 +35,6 @@ - - - - 0 - 0 - 800 - 20 - - - -