OK back to us, this should work when there *is* summary, but doesn't.

** Changed in: unity8 (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: unity8 (Ubuntu)
   Importance: Undecided => High

** Changed in: unity8 (Ubuntu)
     Assignee: (unassigned) => Albert Astals Cid (aacid)

** Summary changed:

- Horizontal cards don't get backgrounds
+ Horizontal cards with summary don't get backgrounds

** Description changed:

  If I change the WEATHER_TEMPLATE in the scopes example to:
  
  const static string WEATHER_TEMPLATE =
-         R"(
+         R"(
  {
-         "schema-version": 1,
-         "template": {
-         "category-layout": "carousel",
-         "card-layout": "horizontal",
-         "card-size": "small",
-       "card-background":"color:///#0F0F0F"
-         },
-         "components": {
-         "title": "title",
-         "art" : {
-         "field": "art"
-         },
-         "subtitle": "subtitle"
-         }
-         }
-         )";
+         "schema-version": 1,
+         "template": {
+         "category-layout": "carousel",
+         "card-layout": "horizontal",
+         "card-size": "small",
+  "card-background":"color:///#0F0F0F"
+         },
+         "components": {
+         "title": "title",
+         "art" : {
+         "field": "art"
+         },
+         "subtitle": "subtitle",
+         "summary": "summary"
+         }
+         }
+         )";
  
- The cards are placed in carousel style, but the background color is simply 
omitted, the color of the card stays black.
-  
- If the card-layout is changed from "horizontal" to "vertical", the color is 
there, and the cards in a carousel style, but the bottom 10% of the cards seem 
to be clipped. (Screenshot attached)
+ The cards are placed in carousel style, but the background color is
+ simply omitted, the color of the card stays black.
+ 
+ If the card-layout is changed from "horizontal" to "vertical", the color
+ is there, and the cards in a carousel style, but the bottom 10% of the
+ cards seem to be clipped. (Screenshot attached)
  
  This is my first bug report ever, so please let me know what else I
  should add, or if I am at the right place at all.
  
- 
  Reported from: http://developer.ubuntu.com/scopes/cookbook/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1393008

Title:
  Horizontal cards with summary don't get backgrounds

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-ubuntu-com/+bug/1393008/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to