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

Qml Shape as Button's background doesn't manage well transparent color

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      When using Qml Shape as a Control's background, we have some limitations about the transparent color.

      ShapePath {
         ...
         // STATE PRESSED NOT WORKING /!\
         fillColor: btn.pressed ? "#B45FFF" : "transparent"
         ...
      }

      When we reverse the condition, it's working but not with very well if we add an animation.

      You can find an example project attached.

        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:
            nathan_p Nathan PRIOR
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes