AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[Rendering] [WinUI3] Columns not are not vertically stretched in WinUI3

Open Diegorro98 opened this issue 1 year ago • 0 comments

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: Designer screenshot

This is how the card is rendered in the widget board: WinUI3 screenshot

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

Diegorro98 avatar Aug 02 '24 21:08 Diegorro98