Any change in the Entry.font, Entry.fontstyle and Entry.fontsize properties results in an automatic resizing of the Entry so that the content is displayed correctly
Entry.fontsize
Get or set the Entry font size, a number that represent the font size in pixels.
Example
--! luart-extensions
import ui
-- create a simple entry
local win = ui.Window("Entry.fontsize sample", 640, 200)
local entry = ui.Entry(win, "", 180, 70)
entry.fontsize = 16
entry.text = entry.font.." font, "..entry.fontsize.."px"
win:show()
-- update the user interface until the user closes the Window
repeat
ui.update()
until not win.visible