- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.0.0
- 
    None
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 } }