-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add an option to autosize all columns by default when opening an attribute table #58547
Add an option to autosize all columns by default when opening an attribute table #58547
Conversation
Can you move the checkbox down to sit on its own row? ie: (and ensure that both checkboxes span all the columns in that layout too) |
@benwirf A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@nyalldawson, no worries- I can definitely make that change. I will have some time to work on this tomorrow & I will push the changes to this branch when done. |
37bbdb3
to
c49c635
Compare
@nyalldawson, @3nids, I have made the requested changes. Hopefully my approach is OK with the settings API. |
c49c635
to
a67dc31
Compare
@benwirf |
Thank you @nyalldawson :-) |
Description
This is a re-submission of this closed PR: #57643 with the branch re-based onto a recent master branch.
This PR adds an option via a checkbox in the Data Sources tab of the Options Dialog (opened via the Settings menu) to always resize columns to contents when opening an attribute table.
This extends #41276 and addresses a more recent request posted as a comment to the original feature request.
This was also discussed in this question on GIS Stack Exchange.
Screenshot of Options Dialog showing added checkbox at top right:
Quick screencast showing added default autosize behaviour with checkbox option checked.