@@ -666,6 +666,26 @@ Item {
666 var shape = findChildsByType(artShapeLoader, "UCUbuntuShape");
666 var shape = findChildsByType(artShapeLoader, "UCUbuntuShape");
667 compare(shape.borderSource, undefined);
667 compare(shape.borderSource, undefined);
670+ function test_clickScopeSizing() {
671+ genericScopeView.scope = scopes.getScopeFromAll("clickscope");
672+ waitForRendering(genericScopeView);
674+ var categoryListView = findChild(genericScopeView, "categoryListView");
675+ waitForRendering(categoryListView);
677+ var categorypredefined = findChild(categoryListView, "dashCategorypredefined");
678+ waitForRendering(categorypredefined);
680+ var cardTool = findChild(categorypredefined, "cardTool");
682+ compare(cardTool.cardWidth, units.gu(9));
683+ shell.width = units.gu(46);
684+ waitForRendering(genericScopeView);
685+ compare(cardTool.cardWidth, units.gu(10));
687+ shell.width = units.gu(120)