QTreeView - branch buttons appearance and size
Unsolved
General and Desktop
-
Hi all,
I have implemented a QTreeView and I would like to change the size and appearance of the branch openers and closers.
Not sure what they are called, on some platforms they are shown are + and - symbols in a box, on other platforms they are shown as a triangle which rotates. I would like to make sure it appears above a certain size on a specific platform or at least appears consistently across all.
I have already tried changing the row height, but the actual +/- remains too small for usability on a touchscreen device.
Thanks.
-
You can do it styling
QTreeView::branch
see http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview