2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Merge pull request #1956 from Hzj-jie/master

Use Screen:scaleBySize to auto scale virtual keyboard size
This commit is contained in:
Huang Xin 2016-04-12 09:06:05 -05:00
commit c1932fc927

View File

@ -140,8 +140,8 @@ local VirtualKeyboard = InputContainer:new{
utf8mode = false,
umlautmode = false,
width = 600,
height = 256,
width = Screen:scaleBySize(600),
height = Screen:scaleBySize(256),
bordersize = 2,
padding = 2,
key_padding = Screen:scaleBySize(6),