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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.