Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须将 scene7 url 集成到 imageview 中。我将 width(wid) 和 height(hei) 属性传递给 scene7 url 以在 imageview 中绘制图像。但是,如果场景 7 url 中的图像内容大小小于所需大小,它总是在中心绘制图像。是否有任何属性可以将图像与scene7中容器框的左侧对齐?
注意 - 尝试align了 scene7 url 的属性,但没有运气。
align
alignhttps://<domain>/is/image/<image_name>.jpg?$<named_preset>$&align=-1,0应该可以工作,然后可以添加类似的东西fit=constrain,0,以便在需要时避免空白。
https://<domain>/is/image/<image_name>.jpg?$<named_preset>$&align=-1,0
fit=constrain,0
阅读更多