Skip to content

The action button size is not align with adaptive card designer #1964

Description

@DingmaomaoBJTU

Version

v4.4.0

Describe the bug

The action button style is not align with adaptive card designer.

To Reproduce

What I see in the designer:
image

What I see in emulator:
image

Here is the adaptive card I use:

{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "ColumnSet",
      "columns": [
        {
          "type": "Column",
          "items": [
            {
              "type": "Image",
              "url": "https://m.media-amazon.com/images/M/MV5BMTc5MDE2ODcwNV5BMl5BanBnXkFtZTgwMzI2NzQ2NzM@._V1_UX182_CR0,0,182,268_AL_.jpg",
              "size": "Medium"
            }
          ]
        },
        {
          "type": "Column",
          "items": [
            {
              "type": "TextBlock",
              "size": "Large",
              "weight": "Bolder",
              "text": "Avengers: Endgame"
            },
            {
              "type": "TextBlock",
              "text": "Action, Adventure, Fantasy"
            },
            {
              "type": "TextBlock",
              "text": "9.1/10"
            }
          ]
        }
      ]
    },
    {
      "type": "Container",
      "items": [
        {
          "type": "TextBlock",
          "text": "After the devastating events of Avengers: Infinity War (2018), the universe is in ruins. With the help of remaining allies, the Avengers assemble once more in order to undo Thanos' actions and restore order to the universe.",
          "wrap": true
        }
      ]
    }
  ],
  "actions": [
    {
      "type": "Action.OpenUrl",
      "title": "View",
      "url": "https://www.imdb.com/title/tt4154796/"
    },
    {
      "type": "Action.OpenUrl",
      "title": "Showtimes",
      "url": "https://www.imdb.com/showtimes/title/tt4154796?date=2019-04-29&pf_rd_m=A2FGELUUNOQJNL&pf_rd_p=11468689-c6cf-4171-acbb-3b9e94cd223b&pf_rd_r=73CWJHCH4NX7T5BQVSNC&pf_rd_s=center-2&pf_rd_t=15021&pf_rd_i=tt4154796&ref_=tt_wbr_sh"
    },
    {
      "type": "Action.OpenUrl",
      "title": "Trailers",
      "url": "https://www.imdb.com/video/imdb/vi2163260441?playlistId=tt4154796&ref_=tt_ov_vi"
    },
    {
      "type": "Action.OpenUrl",
      "title": "Trivia",
      "url": "https://www.imdb.com/title/tt4154796/trivia?ref_=tt_ql_2"
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.0"
}

Expected behavior

Keep emulator card display the same as adaptive card designer.

[bug]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions