diff --git a/Source/Core/DolphinQt/Achievements/AchievementBox.cpp b/Source/Core/DolphinQt/Achievements/AchievementBox.cpp index 4b54851b39..c21ed362fe 100644 --- a/Source/Core/DolphinQt/Achievements/AchievementBox.cpp +++ b/Source/Core/DolphinQt/Achievements/AchievementBox.cpp @@ -27,8 +27,10 @@ AchievementBox::AchievementBox(QWidget* parent, rc_client_achievement_t* achieve m_badge = new QLabel(); QLabel* title = new QLabel(QString::fromUtf8(achievement->title, strlen(achievement->title))); + title->setWordWrap(true); QLabel* description = new QLabel(QString::fromUtf8(achievement->description, strlen(achievement->description))); + description->setWordWrap(true); QLabel* points = new QLabel(tr("%1 points").arg(achievement->points)); m_status = new QLabel(); m_progress_bar = new QProgressBar(); diff --git a/Source/Core/DolphinQt/Achievements/AchievementHeaderWidget.cpp b/Source/Core/DolphinQt/Achievements/AchievementHeaderWidget.cpp index c1976e2752..eeaae09b47 100644 --- a/Source/Core/DolphinQt/Achievements/AchievementHeaderWidget.cpp +++ b/Source/Core/DolphinQt/Achievements/AchievementHeaderWidget.cpp @@ -29,6 +29,9 @@ AchievementHeaderWidget::AchievementHeaderWidget(QWidget* parent) : QWidget(pare m_game_progress = new QProgressBar(); m_rich_presence = new QLabel(); + m_name->setWordWrap(true); + m_points->setWordWrap(true); + m_rich_presence->setWordWrap(true); QSizePolicy sp_retain = m_game_progress->sizePolicy(); sp_retain.setRetainSizeWhenHidden(true); m_game_progress->setSizePolicy(sp_retain); diff --git a/Source/Core/DolphinQt/Achievements/AchievementLeaderboardWidget.cpp b/Source/Core/DolphinQt/Achievements/AchievementLeaderboardWidget.cpp index d2a52970f8..c3ae860205 100644 --- a/Source/Core/DolphinQt/Achievements/AchievementLeaderboardWidget.cpp +++ b/Source/Core/DolphinQt/Achievements/AchievementLeaderboardWidget.cpp @@ -55,7 +55,9 @@ void AchievementLeaderboardWidget::UpdateData(bool clean_all) const auto* leaderboard = leaderboard_bucket.leaderboards[board]; m_leaderboard_order[leaderboard->id] = row; QLabel* a_title = new QLabel(QString::fromUtf8(leaderboard->title)); + a_title->setWordWrap(true); QLabel* a_description = new QLabel(QString::fromUtf8(leaderboard->description)); + a_description->setWordWrap(true); QVBoxLayout* a_col_left = new QVBoxLayout(); a_col_left->addWidget(a_title); a_col_left->addWidget(a_description);