@@ -80,7 +80,8 @@ Item {
81 If undefined, should use implicit width of the actual card.
81 If undefined, should use implicit width of the actual card.
83− property var cardWidth: {
83+ property real cardWidth: {
84+ console.log("Evaluating cardWidth of", cardTool);
84 switch (categoryLayout) {
85 switch (categoryLayout) {
85 case "grid":
86 case "grid":
86 case "vertical-journal":
87 case "vertical-journal":
@@ -115,7 +116,7 @@ Item {
116 If undefined, should use implicit height of the actual card.
117 If undefined, should use implicit height of the actual card.
118− readonly property var cardHeight: {
119+ readonly property real cardHeight: {
119 switch (categoryLayout) {
120 switch (categoryLayout) {
120 case "journal":
121 case "journal":
121 if (template["card-size"] >= 12 && template["card-size"] <= 38) return units.gu(template["card-size"]);
122 if (template["card-size"] >= 12 && template["card-size"] <= 38) return units.gu(template["card-size"]);