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

Should be able to reset gradient

    XMLWordPrintable

Details

    • f39c22ecec295d44eb1604e0a5dd5400093f0322

    Description

      If a gradient and a color are set on a rectangle, the gradient is used. This means that if you wish to override the gradient on a component with a color, you have to unset the gradient as well as set the color.

      This works if you do 'gradient: null'. However I was under the impression that one should use 'property: undefined' to reset (resettable) properties to their unset state, which is really what one wants here. Then it should be possible to use 'gradient: undefined' as well to reset gradient so that Rectangle uses color.

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes