From d2723e5340fc63860c55884281f461d896fff66d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20L=C3=B6rwald?= Date: Sat, 28 Aug 2021 22:57:57 +0200 Subject: [PATCH] ui: model import: stretch vertically --- src/noggit/ui/ModelImport.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/noggit/ui/ModelImport.cpp b/src/noggit/ui/ModelImport.cpp index 4f4a3a2a0..ea56f3b71 100644 --- a/src/noggit/ui/ModelImport.cpp +++ b/src/noggit/ui/ModelImport.cpp @@ -33,6 +33,10 @@ namespace noggit ); layout->addWidget (_list = new QListWidget (this)); + + auto list_size_policy {_list->sizePolicy()}; + list_size_policy.setVerticalStretch (1); + _list->setSizePolicy (list_size_policy); buildModelList();