Google apps script 如何在CardService中调整图像小部件的大小?
在Gmail插件中,您可以添加一个图像以显示在卡中 然而,图像的大小似乎是卡宽度的100%Google apps script 如何在CardService中调整图像小部件的大小?,google-apps-script,image-manipulation,Google Apps Script,Image Manipulation,在Gmail插件中,您可以添加一个图像以显示在卡中 然而,图像的大小似乎是卡宽度的100% section.addWidget(CardService.newImage() .setAltText("Alt image text") .setImageUrl("https://source/image.png")); 有没有办法指定图像的大小,使其不扩展到卡的全宽?目
section.addWidget(CardService.newImage()
.setAltText("Alt image text")
.setImageUrl("https://source/image.png"));
有没有办法指定图像的大小,使其不扩展到卡的全宽?目前,只要gmail附加组件中提供了图像的宽度/高度,就可以了