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

Qt::SizeHorCursor cursor shape on macOS



  • Hello,

    I am trying to have the horizontal resize cursor when resizing a QML Rectangle. I've used Qt.SizeHorCursor to do so.
    The resize works great but there is a difference between the cursor shown when resizing my rectangle (cursor from Qt Global Namespace) and the one when resizing the hole application window (system cursor, same with every application).

    Is this "normal" or did I miss something for the cursor from Qt Global Namespace to look like the system one ?

    Here the system cursor that shows when I resize the entire window.
    1_1567087302459_system_cursor.png

    Here the cursor from Qt Global Namespace that shows when I resize my QML Rectangle.
    0_1567087302458_qt_global_cursor.png

    The second one is broader than the first one. Maybe it's possible to change the size of the cursor somehow ?

    Thanks for your help.
    msoum


Log in to reply