词典字号调整

This commit is contained in:
MrZ626
2020-10-23 13:46:14 +08:00
parent bdfbddf320
commit 5b52f3add3

View File

@@ -2612,12 +2612,14 @@ do--dict
local list=S.result[1]and S.result or S.dict local list=S.result[1]and S.result or S.dict
gc.setColor(1,1,1) gc.setColor(1,1,1)
local text=list[S.select][4] local text=list[S.select][4]
if #text>600 then if #text>900 then
setFont(15)
elseif #text>600 then
setFont(20) setFont(20)
elseif #text>400 then elseif #text>400 then
setFont(24) setFont(25)
else else
setFont(28) setFont(30)
end end
gc.printf(text,306,180,950) gc.printf(text,306,180,950)