Restore larger row height for android

This commit is contained in:
Deve 2018-12-16 21:57:19 +01:00
parent 1a12f65c87
commit 093f815d2c

View File

@ -140,8 +140,11 @@ void ServerSelection::init()
m_searcher->clearListeners();
m_searcher->addListener(this);
m_icon_bank->setScale((float)getHeight() / 15.0f / 128.0f);
m_server_list_widget->setIcons(m_icon_bank,
int(getHeight() / 15.0f));
int row_height = UserConfigParams::m_hidpi_enabled ? getHeight() / 12.0f
: getHeight() / 15.0f;
m_server_list_widget->setIcons(m_icon_bank, row_height);
m_sort_desc = false;
/** Triggers the loading of the server list in the servers manager. */
refresh(true);