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

Add support for an inner shadow to MultiEffect

XMLWordPrintable

      We need an inner shadow to replicate macOS's native Switch. This isn't available in MultiEffect, and would be nice to have.

      I tried copying InnerShadow:

      i tried it out but i'm not sure if it's worth it: https://codereview.qt-project.org/c/qt/qtdeclarative/+/495640/4..5

      there are a lot of extra files there, and i have to use a non-zero verticalOffset otherwise it's too heavy in the corners (i went for the FastInnerShadow implementation rather than the GaussianBlur one), but a verticalOffset of e.g. 1 doesn't look quite right

      If the implementation of InnerShadow is used, we should check if any of the existing bug reports are still valid too: https://bugreports.qt.io/issues/?jql=text%20~%20innershadow%20ORDER%20BY%20created%20DESC

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

            kagro Kaj Grönholm
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes