Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
看过一些教程示例,我写了下面的代码,但是只能上左右能缩放,下部是没反应的。 "ui"; ui.layout( <frame> <vertical w="" h=""> <img scaleType="fitXY" margin="30 60 10 80" src="file:///storage/emulated/0/脚本/Pics/2.png"/> </vertical> </frame> );
你可以直接给定img的高度
@admin 谢谢你的回复,是这样么: "ui"; ui.layout( <frame> <vertical w="" h=""> <img scaleType="fitXY" h="1300" src="file:///storage/emulated/0/脚本/Pics/2.png"/> </vertical> </frame> );
这样的效果,下部依然不能拉伸到1300。
经确认是一个bug 使用Alpha7或者 旧版本把scaleType改成fit_xy
与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待