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

Truncate beatmap title and artist on score panel #8919

Merged
merged 1 commit into from
May 1, 2020

Conversation

Joehuu
Copy link
Member

@Joehuu Joehuu commented May 1, 2020

Fixes #8315 and resolves part of #3504.

Since SpriteText's text can't be aligned when using RelativeSizeAxes right now, I am using its MaxWidth so truncation can occur even when auto sizing.

image

@peppy
Copy link
Member

peppy commented May 1, 2020

Eventually we'll want this to be displayed in a nicer way, but this works for now.

@peppy
Copy link
Member

peppy commented May 1, 2020

Note that this doesn't cover mapper overflow. We'll probably want a more universal solution to this going forward, but let's get this in as a first step.

@peppy peppy merged commit 42ce325 into ppy:master May 1, 2020
@Joehuu Joehuu deleted the truncate-score-panel-title-and-artist branch May 1, 2020 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Song name extends outside of ranking result borders
2 participants