From 3db904baba26838d7abab899a17884ebb2e8f526 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 27 Jan 2019 13:55:42 -0600 Subject: [PATCH] DolphinQt: Reduce the padding between gamelist items. --- Source/Core/DolphinQt/GameList/GameList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp index a299facf95..c48d3fdb05 100644 --- a/Source/Core/DolphinQt/GameList/GameList.cpp +++ b/Source/Core/DolphinQt/GameList/GameList.cpp @@ -107,8 +107,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); + // Have 1 pixel of padding above and below the 32 pixel banners. + m_list->verticalHeader()->setDefaultSectionSize(32 + 2); connect(m_list, &QTableView::customContextMenuRequested, this, &GameList::ShowContextMenu); connect(m_list->selectionModel(), &QItemSelectionModel::selectionChanged,