Skip to content

[IOS][Layout] verticalContentAlignment with "center" doesn't take effect in container #3581

Description

@FelixZhang001

Platform

  • iOS

Author or host

Host - Teams IOS

Version of SDK

latest master.

Details

Tried to use adaptive card lastest master branch sample app to test below payload.
Seems that "verticalContentAlignment": "center" doesn't take effect and the avatar image position is not correct.

{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Container",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "Auto",
"items": [
{
"type": "TextBlock",
"weight": "bolder",
"text": "To",
"wrap": true
}
],
"verticalContentAlignment": "center"
},
{
"type": "Column",
"width": "Auto",
"items": [
{
"type": "Image",
"size": "small",
"style": "person",
"url": "https://pbs.twimg.com/profile_images/3647943215/d7f12830b3c17a5a9e4afcc370e3a37e_400x400.jpeg"
}
],
"spacing": "small",
"verticalContentAlignment": "center"
},
{
"type": "Column",
"width": "Auto",
"items": [
{
"type": "TextBlock",
"text": "Mu Yang",
"wrap": true
}
],
"verticalContentAlignment": "center"
}
]
},
{
"type": "Input.Text",
"id": "message",
"placeholder": "Enter Message",
"isMultiline": true
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"data": {
"ux_send": "true",
"intent:confirm": "true"
},
"title": "Send"
},
{
"type": "Action.Submit",
"data": {
"intent:cancel": "true"
},
"title": "Cancel"
}
]
}

Screen Shot 2019-11-08 at 4 25 22 PM

Metadata

Metadata

Assignees

Labels

BugPartner-MsftTeamsIssues related to AC integration with Microsoft Teams partnerPartner-MsftTeamsMobileBugs related specifically to Teams Mobile integration (iOS/Android)Platform-iOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions