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

Setting a Rectangle with border smooth causes a rendering error

    XMLWordPrintable

Details

    • 2075925adaa1a1c78b6da9dc10d2b1a165178363

    Description

      The following QML will result in a Rectangle with a gradient-like rendering error:

      Rectangle {
      	width: 100
      	height: 100
      	color: "#F7F7F3"
      	border.color: "#676c6f"
      	border.width: 1
      	
      	smooth: true
      }
      

      Removing the smooth attribute or changing the border.width will make the appearance to become correct.

      Attachments

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              stefan.josefsson Stefan Josefsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes