[Solved] QTreeView child indicator resize



  • Hello,
    I want to achieve simply task, but can't find suitable appraoch.
    Basically what I want to do is to resize child expand indicator in QTreeView. Simply task it seams, I subclassed QStyledItemDelegate and increased font and decoration size but what it only does is to increase item size.

    So my question is how to increase size of expand indicator?

    In red rect returned and available in QStyledItemDelegate subclass.

    example

    As You can see expanding rectangle / fontsize / decoration size don't help.



  • Eh... RTM... indention.
    Need to stop 16h marathons ...


Log in to reply
 

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