mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Merge pull request #7750 from jordan-woyak/gamelist-less-padding
DolphinQt: Reduce the padding between gamelist items.
This commit is contained in:
commit
6dc16dda26
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user