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

Setting an explicit margin of 0 should override margins

    XMLWordPrintable

Details

    Description

      For the following example, the top margin should be 0, rather than 20.

      import QtQuick 2.0
      
      Rectangle {
          width: 400; height: 400
      
          Rectangle {
              color: "green"
              anchors.fill: parent
              anchors.margins: 20
              anchors.topMargin: 0
          }
      }
      

      Attachments

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

        Activity

          People

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes