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:
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.
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:
After:
The code I added is outside of the auto-generated
setupUi
method because as far as I can tell, there is no accessiblesectionResizeMode
property in theQTreeWidget
'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.