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: automatically set sheet size to content size #190

Open
daniilS opened this issue Jun 22, 2023 · 0 comments
Open

Feature request: automatically set sheet size to content size #190

daniilS opened this issue Jun 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@daniilS
Copy link

daniilS commented Jun 22, 2023

Currently the default height and width of the MainTable is determined by the default canvas size. This means that when putting a Sheet with only a few rows/columns inside an application, it will fill it up with a lot of empty space. It would be nice if there was an option to make the sheet only request the size it needs to fit its content, i.e. automatically update MainTable.configure(height=) to self.row_positions[-1] + 1 + self.empty_vertical and the same for its width, whenever the content is updated.

@ragardner ragardner added the enhancement New feature or request label Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants