当前位置:网站首页>Auto.js 悬浮窗居中
Auto.js 悬浮窗居中
2022-06-13 11:21:00 【宴西笔记】
fx = device.width;
fy = device.height;
window = floaty.rawWindow(
<frame>
<linear id="线布局"w="{
{fx}}px"h="{
{fy}}px"gravity="center"bg="#88000000">
<vertical bg="#ffffff">
<horizontal>
<text text="账号"/>
<input id="账号"w="200"/>
</horizontal>
<horizontal>
<text text="密码"/>
<input id="密码"w="200"/>
</horizontal>
<horizontal gravity="center">
<button id="取消"text="取消"/>
<button id="登录"text="登录"/>
</horizontal>
</vertical>
</linear>
</frame>
)
setInterval(() => {
}, 1000);
window.线布局.click(() => {
exit()
})
window.取消.click(()=>{
exit()
})
边栏推荐
- COM的模式变化引起的IPdu Handling【接收截止日期监控】
- VSCode 如何将已编辑好的文件中的 tab 键转换成空格键
- 17 pictures: read and understand the first domestic guide for mainframe security capacity building
- Vivo large scale kubernetes cluster automation operation and maintenance practice
- 22、ADS使用记录之E类功放设计(下)
- Model building process 1==miidock
- 很妙的贪心(F2. Nearest Beautiful Number (hard version))
- 2021CCPC网络赛题解加总结
- Similarities and differences between commonAPI and AUTOSAR AP communication management
- Acwing game 55
猜你喜欢
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (II)
[tcapulusdb knowledge base] tcapulusdb operation and maintenance doc introduction
区间修改乘和加(理解懒标记的好例题)
【TcaplusDB知识库】TcaplusDB新增机型介绍
Performance monster on arm64: installation and performance test of API gateway Apache APIs IX on AWS graviton3
socket编程(中)
欧拉函数和线性筛求欧拉函数
Private computing fat core concepts and stand-alone deployment
元宇宙土地:是什么让数字房地产变得有价值
状态压缩DP例题(旅行商问题和填矩形问题)
随机推荐
Analysis and summary of 2021ccpc online games
[tcapulusdb knowledge base] Introduction to new models of tcapulusdb
[tcapulusdb knowledge base] tcapulusdb Model Management Introduction
Web 3.0? High cost version of P2P
【TcaplusDB知识库】TcaplusDB集群管理介绍
Four methods of finding combinatorial numbers
Similarities and differences between commonAPI and AUTOSAR AP communication management
[ROS] moveit rviz seven DOF Manipulator Simulation
Show/exec and close/hide of QT form are not executed when calling the close destructor
21世纪以来的历次“粮食危机”,发生了什么?
17 pictures: read and understand the first domestic guide for mainframe security capacity building
DNS protocol analysis
2021CCPC网络赛题解加总结
[tcapulusdb knowledge base] Introduction to tmonitor system upgrade
COM的模式变化引起的IPdu Handling【接收截止日期监控】
面试技巧问答
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (II)
Ipdu handling caused by mode change of COM
Prim求最小生成树(朴素版稠密图)
元宇宙土地:是什么让数字房地产变得有价值