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

(Question) auto adjust width #221

Open
U-siro opened this issue Jul 3, 2023 · 2 comments
Open

(Question) auto adjust width #221

U-siro opened this issue Jul 3, 2023 · 2 comments

Comments

@U-siro
Copy link

U-siro commented Jul 3, 2023

is there way to set total width of table on this module? https://github.com/gajus/table

I found way to set width per column, but what I want is auto-adjust column by its content length. I think that feature is already exists, but It forces to console's width, no adjustable options.

image

n1 text should on left, and n2 text should on right.

@nam-hle
Copy link
Collaborator

nam-hle commented Jul 11, 2023

I'm not sure about your request. What do you means when saying: "auto-adjust column by its content length"?

@nicosampler
Copy link

I suppose she means setting the maximum width of the table.

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

No branches or pull requests

3 participants