Skip to content

Commit

Permalink
ui: model import: stretch vertically
Browse files Browse the repository at this point in the history
  • Loading branch information
bloerwald authored Aug 28, 2021
1 parent 2729bd8 commit d2723e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/noggit/ui/ModelImport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit d2723e5

Please sign in to comment.