on xenial help sign in
More comments
ebb658dMichael Terry
qml/Greeter/GreeterContent.qml+1−1
@@ -121,7 +121,7 @@ Item {
121 objectName: "infographics"
121 objectName: "infographics"
122 height: narrowMode ? parent.height : 0.75 * parent.height
122 height: narrowMode ? parent.height : 0.75 * parent.height
123 model: greeterContentLoader.infographicModel
123 model: greeterContentLoader.infographicModel
124− clip: true
124+ clip: true // clip large data bubbles
125
125
126 property string selectedUser
126 property string selectedUser
127 property string infographicUser: AccountsService.statsWelcomeScreen ? selectedUser : ""
127 property string infographicUser: AccountsService.statsWelcomeScreen ? selectedUser : ""
tests/mocks/libusermetrics/UserMetrics.cpp+1−1
@@ -312,7 +312,7 @@ void UserMetricsPrivate::generateFakeData()
312 QVariantList firstMonth;
312 QVariantList firstMonth;
313 while (firstMonth.size() < 17)
313 while (firstMonth.size() < 17)
314 firstMonth.push_back(QVariant(rand()));
314 firstMonth.push_back(QVariant(rand()));
315− firstMonth[8] = QVariant(1.0); // oversized 9th day, to test huge bubbles
315+ firstMonth[8] = QVariant(1.0); // oversized 9th day, to test clipping
316 while (firstMonth.size() < 31)
316 while (firstMonth.size() < 31)
317 firstMonth.push_back(QVariant());
317 firstMonth.push_back(QVariant());
318 QVariantList secondMonth;
318 QVariantList secondMonth;