Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved] QTreeView left space



  • Hello,
    if you create a QTreeView and combine it with a QStandardItemModel, the items in the first column will have a tiny space to the left. How can you remove this, so that it looks like a QListView?

    edit:
    setRootIsDecorated


Log in to reply