AdaptiveCards
AdaptiveCards copied to clipboard
[Rendering] [WinUI3] Columns not are not vertically stretched in WinUI3
Target Platforms
Other
SDK Version
Unknown, but probably latest released
Application Name
Widgets board (With new WinUI3 Adaptive Cards)
Problem Description
When using a ColumnSet with an specified minHeigh columns elements doesn't use all the space available. This behavior differs from other platforms such NodeJS.
Screenshots
This is how the card is rendered in the designer:
This is how the card is rendered in the widget board:
Card JSON
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.6",
"body": [
{
"type": "ColumnSet",
"minHeight": "50px",
"columns": [
{
"type": "Column",
"width": "stretch",
"backgroundImage": {
"url": "data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"100%\" height=\"100%\"/></svg>"
},
"items": [
{
"type": "TextBlock",
"text": "TextBlock",
"wrap": true,
"color": "Light"
}
]
}
]
}
]
}
Sample Code Language
No response
Sample Code
No response