Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.3, 5.9.1
-
None
Description
See attached screenshot. I think that closed indicator should point to the left.
#include <QApplication> #include <QTreeView> #include <QStandardItemModel> #include <QStyleFactory> int main(int argc, char *argv[]) { QApplication a(argc, argv); a.setLayoutDirection(Qt::RightToLeft); a.setStyle(QStyleFactory::create("Fusion")); QTreeView w; QStandardItemModel model; QStandardItem *parentItem = model.invisibleRootItem(); for (int i = 0; i < 4; ++i) { QStandardItem *item = new QStandardItem(QString("item %0").arg(i)); parentItem->appendRow(item); parentItem = item; } w.setModel(&model); w.show(); return a.exec(); }
Attachments
For Gerrit Dashboard: QTBUG-63396 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
211816,2 | QTreeView/Fusion style : Draw child indicator correct in RTL-mode | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |