Qt: 4.7
OS: Windows XP
I need a QTreeView that will be look like this:
good.jpg
(Blue background of selected items is depend from leght of text and have not gaps between siblings.)
But standart behaivor of QtreeView with setuped QAbstractItemView::SelectItems flag look like this:
bad.jpg
(it's have ugly white gaps beetwen siblings)
Maybe anybody has same problem with QTreeView like me, and can make for me a little suggestion ?
Using custom Delegate is bad idea, because tree must have maximally native view on different windows'es (xp, vista, 7, (+ classic theme)).
Maybe it can be do by some stylesheet ? I could not do it .
P.S. Please excuse my poor english.
Bookmarks