mirror of https://git.suyu.dev/suyu/suyu
configure_per_game_addons: Set tree view minimum section size to 150px
This commit is contained in:
parent
8dc1913db8
commit
f4004b1271
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue