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

Add API to hide the Slider value popup

    XMLWordPrintable

Details

    • 2fcb33669 (dev), 0a38e211d (6.5.0), 361e34d3e (6.5)

    Description

      With the latest Quick Controls material style 3.0 changes, Slider shows the value on top of the handle when pressed. There should be API to disable this, which in here is controlled with LabelFormatter https://github.com/material-components/material-components-android/blob/master/docs/components/Slider.md

      Looking at SliderHandle.qml I didn't see how to set the label rectangle visible to false. I would set this in QQEM as it already shows the value on left side of the slider. Also the popup gets clipped for the first element of the list (as the list sets "clip: true" and popup isn't any external item). See the attached capture.

      Attachments

        1. qqem_slider_popup.mp4
          181 kB
          Kaj Grönholm
        2. testbed_popup.mp4
          279 kB
          Kaj Grönholm

        Issue Links

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

          Activity

            People

              hurlevent Oliver Eftevaag
              kagro Kaj Grönholm
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes