Qt: Add hidpi icons

This commit is contained in:
Connor McLaughlin
2020-09-10 20:47:59 +10:00
parent 9b942de47e
commit 14778b5d24
56 changed files with 86 additions and 49 deletions

View File

@ -47,7 +47,6 @@ void GameListWidget::initialize(QtHostInterface* host_interface)
m_table_sort_model->setSourceModel(m_table_model);
m_table_view = new QTableView(this);
m_table_view->setModel(m_table_sort_model);
m_table_view->setIconSize(QSize(32, 32));
m_table_view->setSortingEnabled(true);
m_table_view->setSelectionMode(QAbstractItemView::SingleSelection);
m_table_view->setSelectionBehavior(QAbstractItemView::SelectRows);
@ -148,7 +147,7 @@ void GameListWidget::resizeEvent(QResizeEvent* event)
void GameListWidget::resizeTableViewColumnsToFit()
{
QtUtils::ResizeColumnsForTableView(m_table_view, {32, 80, -1, -1, 100, 45, 100});
QtUtils::ResizeColumnsForTableView(m_table_view, {32, 80, -1, -1, 100, 50, 100});
}
static TinyString getColumnVisibilitySettingsKeyName(int column)