如何增加自适应卡的大小? [英] how to increase the size of the adaptive card?

查看:68
本文介绍了如何增加自适应卡的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了自适应卡以表格格式显示数据.自适应卡上显示四列.在Bot框架仿真器上,它显示了正确的数据,如图所示.在bot框架模拟器上,它显示正确的列数据.但是,当将其部署到团队中时,其最后一列数据将被截断,该如何解决?如何增加自适应卡的大小?

解决方案

Teams客户端中自适应卡的宽度由Teams客户端本身根据当前查看区域的宽度确定-您不能直接影响此值.为了使该卡正常工作,您将需要探索其他方法(缩短日期字段的格式看起来应该可以到达那里,至少在台式机客户端上是如此).我将确保您使用App Studio中提供的名片编辑器来测试您的名片设计,并将其实际发送给自己,以便您可以在各种客户端(网络,台式机,Android,iOS)上对其进行测试.

I have used an adaptive card to show data on a table format. There are four columns showed on the adaptive card. On Bot framework emulator it shows proper data as shown image. On bot framework emulator it shows proper column data. But when it deployed on teams, Its last column data get truncated, How to solve it? how to increase the size of the adaptive card?

解决方案

The width of Adaptive Cards in the Teams client is determined by the Teams client itself based on the current viewing area width - you cannot directly influence this value. To make that card work you're going to need to explore alternative methods (shortening the format of the date field looks like it should get you there, at least on desktop clients). I'd make sure you're using the card editor available in App Studio to test your card designs, and actually sending them to yourself so that you can test them across the various clients (web, desktop, Android, iOS).

这篇关于如何增加自适应卡的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆