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

Support treating align, valign, and widths as mutable sequences even when initialized from strings #10

Open
jwodder opened this issue Dec 2, 2021 · 0 comments
Labels
c:alignment c:colwidths enhancement New feature or request therefor library API Relating to the public library API

Comments

@jwodder
Copy link
Owner

jwodder commented Dec 2, 2021

Additionally, even when they are initialized from a list, it should be possible to set indices out of range of the original list but in range for the table's number of columns.

  • Should it also be possible to index the properties by column header text?
  • Idea: If the final types of the options are publicly exposed, then align_fill etc. can be deprecated in favor of align=FillAlign(["r"], fill="l") (Class name a WIP)

Some basic test cases for this feature can be found on the feature/align-index branch.

@jwodder jwodder added enhancement New feature or request therefor library API Relating to the public library API labels Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:alignment c:colwidths enhancement New feature or request therefor library API Relating to the public library API
Projects
None yet
Development

No branches or pull requests

1 participant