Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27279

Setting stylesheet for RigthToLeft QTreeWidget confuses the scrollbar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.9.0 Alpha
    • 4.8.2, 5.2.0
    • Widgets: Layout
    • None
    • Windows
    • 00c9ec63a552d040e851b561c11428fabf1a2b08 8ad9bdf9578d2879d7484c61cf9a46a667f642a4 (qt/qtbase/5.12)

      Setting stylesheet for a QTreeWidget which has layout direction set to RightToLeft will confuse the scrollbar. Add-line and sub-line controls are working correctly with the mouse press, but if the handle is moved with the mouse from the right to left, the handle will move from left to right moving the view contents along.

      Attached example shows the issue.

        1. ScrollTest.zip
          2 kB
          Qt Support
        For Gerrit Dashboard: QTBUG-27279
        # Subject Branch Project Status CR V

            chehrlic Christian Ehrlicher
            qtcomsupport Qt Support
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes