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

Assigning the background's color to a zero-size rectangle's border shows its interior color

XMLWordPrintable

    • 9b24932eba2b204852c4f2b35e05bd7d9d47ccea

      See the attached qml file. It shows a red rectangle. In the middle there's a blue rectangle but we won't see this because its width, height and border.width are 0:

      Everything we see is red. Let's add some more red to this by making the border.color "red". What will happen?

      By adding some more red, a blue rectangular something appears!

        1. AllRed.png
          AllRed.png
          11 kB
        2. AllRed.qml
          0.3 kB
        3. MoreRed.png
          MoreRed.png
          11 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            martjone Martin Jones (closed Nokia identity) (Inactive)
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes