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

HorizontalScrollBar cannot be used when Qliveview switches from IconMode to ListMode.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.2
    • Widgets: Itemviews
    • None
    • win10
    • Windows

      My project requires QListView to switch between ListMode and IconMode using setViewMode. When it is in ListMode, I have override sizeHint, which can show horizontalScrollBar. But when I switch back from IconMode to ListMode, no matter how I do the horizontalScrollBar, it won't be show. I used setHorizontalScrollBarPolicy (Qt:: ScrollBarAlwaysOn) to make the horizontalScrollBar appear, it still looks unusable.How to make HorizontalScrollBar enabled.
      1.horizontalScrollBar show

      2.set IconMode

      3.and switch ListMode the horizontalScrollBar looks unusable.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            sunholic 孙 鹏程
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes