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

How to crop a table row (Text/Markup) to a single line? #1582

Open
marss72 opened this issue Jul 15, 2024 · 0 comments
Open

How to crop a table row (Text/Markup) to a single line? #1582

marss72 opened this issue Jul 15, 2024 · 0 comments

Comments

@marss72
Copy link

marss72 commented Jul 15, 2024

I want to crop a row of a table (one column) to just one line. My program has long strings, that are just identification with some other information. Is there some "clean" way provided by Spectre.Console to do this?

image

The image is what I got after cropping the text. What I was expecting is one line with the rest of the string truncated with an ellipsis character at the end. How do I achieve that?

I will appreciate any help, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo 🕑
Development

No branches or pull requests

1 participant