From 505a67a372d2abb07bf529f8c7b4822b77f44e3a Mon Sep 17 00:00:00 2001 From: Alayan-stk-2 Date: Sat, 15 Sep 2018 03:32:51 +0200 Subject: [PATCH] More improvements for #3430 Now that the list is wider, time and version can fit with a smaller place, leaving more for the rest. --- .../dialogs/ghost_replay_info_dialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/states_screens/dialogs/ghost_replay_info_dialog.cpp b/src/states_screens/dialogs/ghost_replay_info_dialog.cpp index 06b103542..9b66245e7 100644 --- a/src/states_screens/dialogs/ghost_replay_info_dialog.cpp +++ b/src/states_screens/dialogs/ghost_replay_info_dialog.cpp @@ -35,7 +35,7 @@ using namespace irr::core; // ----------------------------------------------------------------------------- GhostReplayInfoDialog::GhostReplayInfoDialog(unsigned int replay_id, uint64_t compare_replay_uid, bool compare_ghost) - : ModalDialog(0.9f,0.75f), m_replay_id(replay_id) + : ModalDialog(0.95f,0.75f), m_replay_id(replay_id) { m_self_destroy = false; m_record_race = false; @@ -147,13 +147,13 @@ void GhostReplayInfoDialog::updateReplayDisplayedInfo() row.push_back(GUIEngine::ListWidget::ListCell (_("Laps"), -1, 3, true)); row.push_back(GUIEngine::ListWidget::ListCell - (_("Time"), -1, 4, true)); + (_("Time"), -1, 3, true)); row.push_back(GUIEngine::ListWidget::ListCell (_("Kart"), -1, 1, true)); row.push_back(GUIEngine::ListWidget::ListCell (_("User"), -1, 5, true)); row.push_back(GUIEngine::ListWidget::ListCell - (_("Version"), -1, 3, true)); + (_("Version"), -1, 2, true)); m_replay_info_widget->addItem(StringUtils::toString(0), row); @@ -203,13 +203,13 @@ void GhostReplayInfoDialog::updateReplayDisplayedInfo() row.push_back(GUIEngine::ListWidget::ListCell (StringUtils::toWString(rd.m_laps), -1, 3, true)); row.push_back(GUIEngine::ListWidget::ListCell - (StringUtils::toWString(rd.m_min_time) + L"s", -1, 4, true)); + (StringUtils::toWString(rd.m_min_time) + L"s", -1, 3, true)); row.push_back(GUIEngine::ListWidget::ListCell ("", icon, 1, true)); row.push_back(GUIEngine::ListWidget::ListCell (rd.m_user_name.empty() ? " " : rd.m_user_name, -1, 5, true)); row.push_back(GUIEngine::ListWidget::ListCell - (rd.m_stk_version.empty() ? " " : rd.m_stk_version, -1, 3, true)); + (rd.m_stk_version.empty() ? " " : rd.m_stk_version, -1, 2, true)); m_replay_info_widget->addItem(StringUtils::toString(i), row); } // for num_replays_to_list