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

Table widths in small blocks #10

Closed
andschneider opened this issue Jun 4, 2021 · 1 comment
Closed

Table widths in small blocks #10

andschneider opened this issue Jun 4, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@andschneider
Copy link
Collaborator

When tables, such as the line score and box score, are in a block that is smaller than the width of the table the columns that get displayed changes each redraw.

Screen Shot 2021-06-04 at 9 37 07 AM
Screen Shot 2021-06-04 at 9 37 17 AM
Screen Shot 2021-06-04 at 9 37 45 AM

Solutions:

  • Need to figure out the width of the block and then drop columns accordingly, or in the worst case, not display at all.
  • On the line score, use the three letter team abbreviation instead of the team name.
@andschneider andschneider added the bug Something isn't working label Jun 4, 2021
@andschneider andschneider added this to the v0.1.0 release milestone Jun 4, 2021
@andschneider andschneider self-assigned this Jun 4, 2021
@andschneider andschneider mentioned this issue Jul 13, 2021
@andschneider
Copy link
Collaborator Author

Closed by an update to to tui-rs (0.16.0), which will be released in mlbt 0.0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant