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

Gap on top of scrollbar with NVidia graphic drivers.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.1, 5.6.0 RC
    • Fix Version/s: None
    • Component/s: Quick: Controls 1
    • Environment:
      Windows 7

      Description

      Launch scrollview application in computer with NVidia graphic driver. Scrolling scrollbar handle down and then up you see small (1 pixel) gap (see attached screenshot) between scrollbar handle and scrollbar arrow item.

      One suggested solution is to round values with Math.floor in src\controls\Styles\Base\ScrollViewStyle.qml

      anchors.topMargin: 384: Math.floor(__styleData.horizontal || range === 0 ? 0 : -handleOverlap + (2 * begin * (bg.height + (2 * handleOverlap) - extent) + range) / (2 * range))
      

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            markan Marko Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes