Details
Description
Tested in a completely new QtQuick application. For some reason, setting margins to 1 crashes the application on startup with a QList exception for index out of range.
ASSERT failure in QList::at: "index out of range", file C:\Users\qt\work\qt\qtbase\include\QtCore\../../src/corelib/tools/qlist.h, line 423
I attached an example application, where you'll find a layout and comments stating how to have the application not crash on startup. This doesn't seem intended though, how setting anchors.margins to 1 causes this.