configure_per_game_addons: Set tree view minimum section size to 150px

This commit is contained in:
merry 2022-04-02 17:19:25 +01:00
parent 8dc1913db8
commit f4004b1271
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ ConfigurePerGameAddons::ConfigurePerGameAddons(Core::System& system_, QWidget* p
tree_view->header()->setStretchLastSection(false); tree_view->header()->setStretchLastSection(false);
tree_view->header()->setSectionResizeMode(0, QHeaderView::ResizeMode::Stretch); tree_view->header()->setSectionResizeMode(0, QHeaderView::ResizeMode::Stretch);
tree_view->header()->setMinimumSectionSize(150);
// We must register all custom types with the Qt Automoc system so that we are able to use it // We must register all custom types with the Qt Automoc system so that we are able to use it
// with signals/slots. In this case, QList falls under the umbrella of custom types. // with signals/slots. In this case, QList falls under the umbrella of custom types.