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

Allow alignment of table columns or cells #257

Closed
utopiabound opened this issue Jun 12, 2023 · 0 comments · Fixed by #392
Closed

Allow alignment of table columns or cells #257

utopiabound opened this issue Jun 12, 2023 · 0 comments · Fixed by #392
Labels
enhancement New feature or request

Comments

@utopiabound
Copy link

Problem

Right aligning data in Table Cells

Solution(s)

  • Offer fn align() on Text (possibly moving aligment logic from Paragraph to Text)
  • Add alignment logic to Cell.

Alternatives

Adding alignment data to Lines in a Cell does nothing.

Additional context

This is a "port" of the Feature Request from fdehau/tui-rs#295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant