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

TableView - wrong sort indicator



  • Hi,

    I have an issue with QTableView showing the wrong sort indicator.
    That means
    Qt::Ascending -> arrow down.
    Qt::Descending -> arrow up.
    Strange is, that this happens dependent on the Application Stlye ("GTK+" -> wrong, "Windows" -> correct).
    Does anybody know anything about this ?

    btw.: Qt 5.4 running on Xubuntu 14.

    Thanks in advance,
    Martin


  • Lifetime Qt Champion

    Hi,

    Following a comment in the QGtkStyle (there's also a bug report about it), it follows the Gnome HIG which has it reversed



  • @SGaist : Ok, thanks, that helps. I was wondering if it could have been my fault.


  • Lifetime Qt Champion

    You're welcome !

    The UI guide lines for different platforms can be tricky at times.

    Since your question is answered, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)

    Also, while browsing the forum, consider up-voting answers that helped you, it will make them easier to find for other forum users :)



  • Yes - I will do so.
    Thanks for the hint ;-)


Log in to reply