According to 
https://docs.google.com/a/canonical.com/document/d/1n880Fih5KyGPcoP5chidnHDG_8TxXUgSuij7f4rHpuk/edit
horizontal cards without a summary don't get a shape, and since they don't get 
a shape, don't get background either.

This is my understanding of the table intersection of
"Art_Header_horizontal" + "Can card be inside shape?" in "Cards and
Ubuntu Shape" that says "No" and "The ubuntu shape is also optional for
card templates which support it. In this case, the card must have a
background colour"

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

Title:
  Horizontal cards don't get backgrounds

Status in Ubuntu App Developer site:
  Invalid
Status in unity8 package in Ubuntu:
  Triaged

Bug description:
  If I change the WEATHER_TEMPLATE in the scopes example to:

  const static string WEATHER_TEMPLATE =
          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"
          }
          }
          )";

  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/

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to