Merge pull request #12880 from LillyJadeKatrin/retroachievements-missing-progress-bar

Make achievement progress text label transparent
This commit is contained in:
Admiral H. Curtiss 2024-06-21 19:41:59 +02:00 committed by GitHub
commit d29a1fdcd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,7 @@ AchievementBox::AchievementBox(QWidget* parent, rc_client_achievement_t* achieve
sp_retain.setRetainSizeWhenHidden(true);
m_progress_bar->setSizePolicy(sp_retain);
m_progress_label = new QLabel();
m_progress_label->setStyleSheet(QStringLiteral("background-color:transparent;"));
m_progress_label->setAlignment(Qt::AlignCenter);
QVBoxLayout* a_col_right = new QVBoxLayout();