自适应卡片的垂直对齐(拉伸高度)
Vertical alignment (stretching height) for Adaptive Cards
根据这些 GitHub issue and PR 卡片元素现在应该有一个 height
属性 和一个 "stretch" 值,允许垂直对齐。我已经在 Teams (Adaptive Card v1.0) 中尝试过,但无法正常工作。 Schema Explorer 没有提及高度,尽管 size
属性 被重命名为 width
.
我是不是漏掉了什么?感谢您的帮助。
Teams 支持此处的架构:http://adaptivecards.io/schemas/adaptive-card.json. Or more accurately, since the schema is an evolving document, this specific version https://github.com/Microsoft/AdaptiveCards/blob/998628b3088ad23a0d8fe08934980ffb693c4123/schemas/adaptive-card.json。
这不包括 "height" 属性(我确实认为他们还没有更新架构?),所以很遗憾,您不能将其用于自适应卡片尚未加入 Teams。
根据这些 GitHub issue and PR 卡片元素现在应该有一个 height
属性 和一个 "stretch" 值,允许垂直对齐。我已经在 Teams (Adaptive Card v1.0) 中尝试过,但无法正常工作。 Schema Explorer 没有提及高度,尽管 size
属性 被重命名为 width
.
我是不是漏掉了什么?感谢您的帮助。
Teams 支持此处的架构:http://adaptivecards.io/schemas/adaptive-card.json. Or more accurately, since the schema is an evolving document, this specific version https://github.com/Microsoft/AdaptiveCards/blob/998628b3088ad23a0d8fe08934980ffb693c4123/schemas/adaptive-card.json。
这不包括 "height" 属性(我确实认为他们还没有更新架构?),所以很遗憾,您不能将其用于自适应卡片尚未加入 Teams。