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

QML Rectangle gets rounded and smoothed when using a gradient

    XMLWordPrintable

Details

    • b1c128415894686d61b3d568e5117ba96dd4c74e

    Description

      The following example shows a rounded and smoothed rectangle when a gradient is used. But this cannot be correct?
      It does not help to set smooth: false either.
      ----------

      import Qt 4.7

      Rectangle {
      width:300; height:200

      Rectangle {
      x: 50; y:50
      width: 50
      height: 50
      gradient: Gradient {
      GradientStop

      {position:0.0; color:"#0000FF" }

      GradientStop

      {position:1.0; color:"#000000" }

      }
      border.width: 4
      smooth: false
      }
      }

      Attachments

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

        Activity

          People

            bealam Bea Lam (closed Nokia identity) (Inactive)
            richard Richard Moe Gustavsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes