some more commenting
commit3e9d536f00fffb3c66317a05d636948964e4490c
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 19 Mar 2014, 18:28 (13 years ago)
parente0f57e5
qml/Stages/PhoneStage.qml+3
@@ -421,6 +421,9 @@ Item {
421421
422422 Item {
423423 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
424427 width: Math.max(3, ApplicationManager.count) * spreadView.tileDistance + (spreadView.width - spreadView.tileDistance) * 1.5
425428
426429 x: spreadView.contentX