给一些联网相关的输入框添加输入长度限制

This commit is contained in:
MrZ626
2021-10-17 23:44:49 +08:00
parent fdb6276869
commit 99e77969ad
6 changed files with 12 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ local function _hidePW()
local R=roomList:getSel()
return not R or not R.private
end
local passwordBox=WIDGET.newInputBox{name="password",x=350,y=505,w=500,h=50,secret=true,hideF=_hidePW}
local passwordBox=WIDGET.newInputBox{name="password",x=350,y=505,w=500,h=50,secret=true,hideF=_hidePW,limit=64}
--[[roomList[n]={
rid="qwerty",