Skip to content

allow leaderboard score to fit on one line - #524

Open
fdoyle wants to merge 2 commits into
Bernie-2016:developfrom
fdoyle:bugfix/ftb-45-leaderboard-number-wrapping
Open

allow leaderboard score to fit on one line#524
fdoyle wants to merge 2 commits into
Bernie-2016:developfrom
fdoyle:bugfix/ftb-45-leaderboard-number-wrapping

Conversation

@fdoyle

@fdoyle fdoyle commented Feb 17, 2016

Copy link
Copy Markdown

changed layout name to row_profile for consistency with other list item layouts

set ems to 4 on score textview to guarantee that 4 digits can always safely fit in that space regardless of font (if someone hits a score of 10k, I suppose we'd have to update it again)

@patrickcousins

Copy link
Copy Markdown
Collaborator

Thanks this. Unfortunately all that extra space makes the design look a bit awkward. Could we try setting the padding/margins/whatever causing space on the left to 0?

@fdoyle

fdoyle commented Feb 24, 2016

Copy link
Copy Markdown
Author

Improved this a bit. Now 3 ems, but 4 numerical digits seems to fit in that easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants