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

BorderImage is not updated when border values change

    XMLWordPrintable

Details

    • f0c02624791441d45cc8b2f084505cfc5add7237

    Description

      This code does not repaint the BorderImage as expected:

      import Qt 4.7
      
      Rectangle {
          width: 800; height: 600
      
          BorderImage {
              id: image
              border { left: 20; top: 10; right: 20; bottom: 10 }
              x: 200; y: 200
              width: 200; height: 100
              source: "button.png"
      
              MouseArea {
                  anchors.fill: parent
                  onPressed: image.border.left = 0
                  onReleased: image.border.left = 20
              }
          }
      }
      

      Attachments

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

        Activity

          People

            bodson Yann Bodson (Inactive)
            bodson Yann Bodson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes