Entry.fontsize read/write property


Get or set the Entry font size, a number that represent the font size in pixels.

Example

local ui = require "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