@@ -110,7 +110,10 @@ Item {
110 // destroyed when dragging them outside the list. This needs to be at least
110 // destroyed when dragging them outside the list. This needs to be at least
111 // itemHeight to prevent folded items from disappearing and DragArea limits
111 // itemHeight to prevent folded items from disappearing and DragArea limits
112 // need to be smaller than this size to avoid breakage.
112 // need to be smaller than this size to avoid breakage.
113− property int extensionSize: itemHeight * 3
113+ property int extensionSize: 0
114+ // Setting extensionSize after the list has been populated because it has
115+ // the potential to mess up with the intial positioning.
116+ Component.onCompleted: extensionSize = itemHeight * 3
115 // The height of the area where icons start getting folded
118 // The height of the area where icons start getting folded
116 property int foldingStartHeight: units.gu(6.5)
119 property int foldingStartHeight: units.gu(6.5)