Platform
Version of SDK
1.2.3
Details
On Teams, we've discovered that an app that has been using adaptive cards has been setting the width of a column to 2.6, and the card now rendering differently than what it used to. It seems that the SDK renderer no longer accepts decimal values as valid values for column widths, and is treating it as invalid and setting it to the default width, which is now "stretch". Screenshots of how the card used to look like vs. now are included, along with the JSON payload used to generate this card.
1.0:

1.2:

JSON payload:
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "Image", "url": "http://adaptivecards.io/content/cats/1.png", "altText": "Creative", "horizontalAlignment": "Center" } ], "width": 2.6 }, { "type": "Column", "items": [ { "type": "TextBlock", "text": "Susan Shen sent praise to", "spacing": "None", "wrap": true, "isSubtle": true }, { "type": "TextBlock", "text": "New TextBlock" }, { "type": "TextBlock", "text": "New TextBlock" } ], "width": 6, "spacing": "Medium" } ] } ] }
Platform
Version of SDK
1.2.3
Details
On Teams, we've discovered that an app that has been using adaptive cards has been setting the width of a column to 2.6, and the card now rendering differently than what it used to. It seems that the SDK renderer no longer accepts decimal values as valid values for column widths, and is treating it as invalid and setting it to the default width, which is now "stretch". Screenshots of how the card used to look like vs. now are included, along with the JSON payload used to generate this card.
1.0:

1.2:

JSON payload:
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "Image", "url": "http://adaptivecards.io/content/cats/1.png", "altText": "Creative", "horizontalAlignment": "Center" } ], "width": 2.6 }, { "type": "Column", "items": [ { "type": "TextBlock", "text": "Susan Shen sent praise to", "spacing": "None", "wrap": true, "isSubtle": true }, { "type": "TextBlock", "text": "New TextBlock" }, { "type": "TextBlock", "text": "New TextBlock" } ], "width": 6, "spacing": "Medium" } ] } ] }