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

Change the position of childIndicator in a QTreeWidget row



  • Hi,

    I am using QTreeWidget like

      QTreeWidgetItem *item1=new QTreeWidgetItem(ui->treeWidget);
        item1->setChildIndicatorPolicy(QTreeWidgetItem::ShowIndicator);
        item1->setText(0, tr("Cities"));
    

    it is showing childIndicator starting of row but i want that indicator at the end of the row .

    How to change the position of childIndicator.

    Does anyone have a solution to my problem?


  • Lifetime Qt Champion

    Hi,

    Out of curiosity, can you show a mockup of the result you'd like to achieve ?


Log in to reply