Restore replay list density, and keep a consistent tab size

This commit is contained in:
Alayan 2019-07-17 20:12:10 +02:00
parent dbb14a2861
commit 40a8411090
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
<list id="replay_list" x="0" y="0" width="100%" height="100%" alternate_bg="true"/>
</box>
<tabs id="race_mode" height="2f" width="98%" align="center">
<tabs id="race_mode" height="6%" width="98%" align="center">
<icon-button id="tab_time_trial" width="128" height="128" icon="gui/icons/mode_tt.png"
I18N="In the ghost replay selection screen" text="Time trial"/>
<icon-button id="tab_egg_hunt" width="128" height="128" icon="gui/icons/mode_easter.png"

View File

@ -174,8 +174,8 @@ void GhostReplaySelection::init()
Screen::init();
m_cur_difficulty = race_manager->getDifficulty();
int icon_height = GUIEngine::getFontHeight() * 3 / 2;
int row_height = GUIEngine::getFontHeight() * 2;
int icon_height = GUIEngine::getFontHeight();
int row_height = GUIEngine::getFontHeight() * 5 / 4;
// 128 is the height of the image file
m_icon_bank->setScale(icon_height/128.0f);