on xenial help sign in
some more commenting
3e9d536Michael Zanetti
qml/Stages/PhoneStage.qml+3
@@ -421,6 +421,9 @@ Item {
421
421
422 Item {
422 Item {
423 id: spreadRow
423 id: spreadRow
424+ // This width controls how much the spread can be flicked left/right. It's composed of:
425+ // tileDistance * app count (with a minimum of 3 apps, in order to also allow moving 1 and 2 apps a bit)
426+ // + some constant value (still scales with the screen width) which looks good and somewhat fills the screen
424 width: Math.max(3, ApplicationManager.count) * spreadView.tileDistance + (spreadView.width - spreadView.tileDistance) * 1.5
427 width: Math.max(3, ApplicationManager.count) * spreadView.tileDistance + (spreadView.width - spreadView.tileDistance) * 1.5
425
428
426 x: spreadView.contentX
429 x: spreadView.contentX