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

[Feature Request] Support for ShrinkWrap / MainAxisSize.min #310

Open
Johannes5000 opened this issue Oct 28, 2024 · 0 comments
Open

[Feature Request] Support for ShrinkWrap / MainAxisSize.min #310

Johannes5000 opened this issue Oct 28, 2024 · 0 comments

Comments

@Johannes5000
Copy link

Currently, when using a DataTable2 with only a few rows, the table automatically expands to fill more space than necessary. I would like an option for the table to adjust its size based on its content, using only the minimum required space when there are limited rows. This would help keep layouts compact and avoid unnecessary whitespace.

Proposed Solution:
Provide support for shrinkWrap or MainAxisSize.min so that the table height can dynamically adjust based on the number of rows displayed.

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

1 participant