on xenial help sign in
setting the launcher's extensionSize delayed to position the view correctly at the beginning
commita52da90b18debc4490fbea9ac2160affaab654ea authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 27 Aug 2013, 23:23 (13 years ago) parentd9fa8da
1 file changed+4−1
Launcher/LauncherPanel.qml+4−1
Launcher/LauncherPanel.qml+4−1
@@ -110,7 +110,10 @@ Item {
110110 // destroyed when dragging them outside the list. This needs to be at least
111111 // itemHeight to prevent folded items from disappearing and DragArea limits
112112 // 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
114117
115118 // The height of the area where icons start getting folded
116119 property int foldingStartHeight: units.gu(6.5)