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

DropShadow radius property of type int but it is actually real

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes