<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi László,<br>
<br>
Knee-jerk reaction is that I’m sceptical that this belongs into QTreeView itself, given how hard it is to make this look good for all the different styles, and how easy it evidently is to do this in a subclass that can solve a specific problem and doesn’t have to worry about making this look right with every style.<br>
<br>
Not to speak about being testing yet another property in combination with all other properties, which makes the number of visual tests we have to have for this grow exponentially.<br>
<br>
At the very least, start with writing up a suggestion as a JIRA ticket so that we can see if anyone votes for this to be part of upstream Qt and so that we can discuss what this should look like with different styles, style sheets, scale factors etc.<br>
<br>
Volker<br></blockquote><div><br></div><div>For the record:</div><div><br></div><div><a href="https://codereview.qt-project.org/c/qt/qtbase/+/411663">https://codereview.qt-project.org/c/qt/qtbase/+/411663</a><br></div><div><a href="https://bugreports.qt.io/browse/QTBUG-103535">https://bugreports.qt.io/browse/QTBUG-103535</a> </div></div></div>