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

Resize columns to contents in notifications window #2128

Conversation

JonathanFeenstra
Copy link
Contributor

This PR changes the resize behavior of the columns in the notifications window to always resize to the contents to give them more appropriate sizes.

Before:

notifications-before

After:

notifications-after

The code I added is outside of the auto-generated setupUi method because as far as I can tell, there is no accessible sectionResizeMode property in the QTreeWidget's header in Qt Designer. To allow users to manually resize the columns, the header row must be set to visible, which we probably don't want.

@Holt59 Holt59 merged commit 8f1dbe9 into ModOrganizer2:master Oct 3, 2024
2 checks passed
@JonathanFeenstra JonathanFeenstra deleted the feature-resize-notification-columns branch October 10, 2024 19:13
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

Successfully merging this pull request may close these issues.

2 participants