summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2019-01-27 13:55:42 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2019-01-27 14:00:22 -0600
commit3db904baba26838d7abab899a17884ebb2e8f526 (patch)
tree77959f336e6aa3617a383c648b8a7f49f6768ddc /Source/Core
parent55da8473c9ad186b3dbb19e7d3e1b352d1f69483 (diff)
DolphinQt: Reduce the padding between gamelist items.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/GameList/GameList.cpp4
1 files 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,