Unsolved QTreeView Item row
-
Hi guys
I want to get rid of that blank in treeview, is it possible?
-
-
@Qt-Jo-Ha
Do you have experience in custom item delegates? -
Yes. I have a delegate I made
-
-
@Qt-Jo-Ha
Then you can use delegate to do something likeif(index.parent().isValid()) opt.rect.setLeft(0);
in the reimplemented
paint
function.