Просмотр исходного кода

configure_per_game_addons: Set tree view minimum section size to 150px

merry 4 лет назад
Родитель
Сommit
f4004b1271
1 измененных файлов с 1 добавлено и 0 удалено
  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()->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
     // with signals/slots. In this case, QList falls under the umbrella of custom types.