0
我使用ImageLoadingCell将图像加载到表格中,ImageLoadingCell只是使用图像的URL。有没有办法设置图像的大小,所以浏览器会使图像的大小一致?GWT ImageLoadingCell - 设置特定尺寸
我使用ImageLoadingCell将图像加载到表格中,ImageLoadingCell只是使用图像的URL。有没有办法设置图像的大小,所以浏览器会使图像的大小一致?GWT ImageLoadingCell - 设置特定尺寸
Developer's Guide - Creating Custom Cells
,您可以更改默认模板@Template("<img src=\"{0}\"/>")
的渲染器,例如@Template("<img src=\"{0}\" height=\"100px\" width=\"100px\"/>")
, 看到文件ImageLoadingCell.class行数70