Merge pull request #7899 from spycrab/qt_netplay_bold

Qt/NetPlayDialog: Don't bold the player table headers
This commit is contained in:
JMC47 2019-03-16 12:12:30 -04:00 committed by GitHub
commit ae533185c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ void NetPlayDialog::CreatePlayersLayout()
m_players_list->verticalHeader()->hide();
m_players_list->setSelectionBehavior(QAbstractItemView::SelectRows);
m_players_list->horizontalHeader()->setStretchLastSection(true);
m_players_list->horizontalHeader()->setHighlightSections(false);
for (int i = 0; i < 4; i++)
m_players_list->horizontalHeader()->setSectionResizeMode(i, QHeaderView::ResizeToContents);