Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.2
-
None
Description
When using styled QTreeWidget the section resize mode QHeaderView::ResizeToContents is not considered.
Attached you find a ZIP with a small test program including a style sheet file.
1.) Start uistylesheet.exe without any parameter
This will display the standard QtTreeWidget (s. attached QTreeWidget_sectionsize.jpg )
2.) Start uistylesheet.exe with parameter -styled from command line (s. attached QTreeWidget_sectionsize_styled.jpg )
This will automatically load the style sheet file UiTest_QTreeWidget.stylesheet and will display the adjusted QTreeWidget with not considering the section resize mode.