Selaa lähdekoodia

configure_per_game_addons: Set tree view minimum section size to 150px

merry 4 vuotta sitten
vanhempi
commit
f4004b1271
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/yuzu/configuration/configure_per_game_addons.cpp

+ 1 - 0
src/yuzu/configuration/configure_per_game_addons.cpp

@@ -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.