Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix changelog size hack #15398

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Fix changelog size hack #15398

merged 1 commit into from
Apr 4, 2024

Conversation

RipleyTom
Copy link
Contributor

@RipleyTom RipleyTom commented Apr 4, 2024

QLabel auto detects if the text is html so adding spaces to it didn't lengthen it, needed to use   to actually add spaces.

An extra space is added the first time otherwise it considers the word update and all the spaces as a single word and puts it on a new line.

@elad335 elad335 added the Bugfix label Apr 4, 2024
@elad335 elad335 added the It is what it is It works but noone understands why label Apr 4, 2024
m_update_message += "  ";
while (QLabel(m_update_message).sizeHint().width() < changelog_width)
{
m_update_message += "&nbsp;";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comment with explanation

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging because it's a hotfix

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh

@elad335 elad335 removed the It is what it is It works but noone understands why label Apr 4, 2024
@elad335 elad335 merged commit 95e0d1a into RPCS3:master Apr 4, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants