-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IOS][Layout] verticalContentAlignment with "center" doesn't take effect in container #3581
Comments
@nesalang could you take a first stab pls? Thanks |
@nesalang is looking into this. Thanks |
@nesalang does this need to be ported into master? |
Please go ahead and close once it' checked into master.. thanks! (unsure why despite using the fixes keyword the issue wasnt closed out automatically) |
BB Payload |
🎉 Handy links: |
Platform
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"
}
]
}
The text was updated successfully, but these errors were encountered: