From 587b275c8e26baab5c9547d84834ca76d62cbe45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 14 Sep 2017 19:28:36 +0200 Subject: [PATCH] Qt: Increase the height of game list items This makes the images in the game list look less weird (since they are not squashed together anymore). The list also looks more like WX now. --- Source/Core/DolphinQt2/GameList/GameList.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt2/GameList/GameList.cpp b/Source/Core/DolphinQt2/GameList/GameList.cpp index 1402cfeaa5..072775165f 100644 --- a/Source/Core/DolphinQt2/GameList/GameList.cpp +++ b/Source/Core/DolphinQt2/GameList/GameList.cpp @@ -74,6 +74,8 @@ void GameList::MakeListView() m_list->setCurrentIndex(QModelIndex()); m_list->setContextMenuPolicy(Qt::CustomContextMenu); m_list->setWordWrap(false); + m_list->verticalHeader()->setDefaultSectionSize(m_list->verticalHeader()->defaultSectionSize() * + 1.25); connect(m_list, &QTableView::customContextMenuRequested, this, &GameList::ShowContextMenu); connect(m_list->selectionModel(), &QItemSelectionModel::selectionChanged,