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

Multiline text tile family #21

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

Helveg
Copy link
Contributor

@Helveg Helveg commented Mar 22, 2024

I tried factoring out the commonalities of multiline text tiles (limit them to available lines and character columns with ellipsis overflow) and added a new double column text tile with a separator, and some alignment and truncation options, e.g.:

Hello:       world
Goodbye:       all
See you ag…: later

It's a draft for now, because I'm not sure the naming of the configurable options is clear enough, and I'd like to add tests, but go ahead if you already want to have a first look and some review!

It's probably also possible to add an infinite amount of tiles to dashing, so it might make sense to think of some inclusion policy of what we'd want to include in the main package, and what tiles we'd suggest the community to just publish in their own package.

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.

1 participant