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

DropShadow radius property of type int but it is actually real

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.13.0
    • Documentation
    • None

    Description

      In the documentation the DropShadow property radius is of type int, but the implementation differs.

      qtgraphicaleffects/src/effects/private/DropShadowBase.qml

      property real radius: Math.floor(samples / 2) 
      

      Also the example code listed on the documentation page shows real usage.

      Attachments

        Issue Links

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

          Activity

            People

              vertries Nico Vertriest (Inactive)
              henning Henning Gründl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes