新增文本框控件,空间框架略微修改适配文本输入

This commit is contained in:
MrZ626
2020-10-19 00:58:49 +08:00
parent 10d65c4581
commit 97ace858af
6 changed files with 184 additions and 54 deletions

View File

@@ -125,6 +125,7 @@ local newKey= WIDGET.newKey
local newSwitch= WIDGET.newSwitch
local newSlider= WIDGET.newSlider
local newSelector= WIDGET.newSelector
local newTextBox= WIDGET.newTextBox
--All widgets
local Widgets={
@@ -658,6 +659,9 @@ local Widgets={
},
login={
newText({name="title", x=80,y=50,font=70,align="L"}),
newTextBox({name="username",x=400,y=200,w=500,h=60}),
newTextBox({name="password",x=400,y=300,w=626,h=60,secret=true}),
newTextBox({name="password2",x=400,y=400,w=626,h=60,secret=true}),
},
account={
newText({name="title", x=80,y=50,font=70,align="L"}),