Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
4.8.2
-
None
-
Linux pc 3.4.0-1-ARCH #1 SMP PREEMPT Mon May 21 10:10:13 CEST 2012 x86_64 GNU/Linux
-
b37849a5f54d7d3e66adb4430daa2cbd7b366f13
Description
When there is a 0px identation set with setIndentation(0), no tree branches should be visible.
Currently, when the identation is set to 0px, there are 1px tree branches at the left of the items, and they look like a visual artifact.
If someone sets identation to 0px, he clearly doesn't want to see tree branches, especially if they don't look like tree branches.
The only way to fix this from the application (disable branches) is to override QTreeView::drawBranches. See https://git.reviewboard.kde.org/r/105342/
Disabling tree branches when the identation is 0px won't break anything, because they are not useful when they are only 1px wide.