TextViewer: font size (#10911)

This commit is contained in:
hius07
2023-09-19 08:39:25 +03:00
committed by GitHub
parent 2b13cd7dcb
commit 684fc22ffc
9 changed files with 28 additions and 21 deletions

View File

@@ -197,11 +197,11 @@ When the book's language tag is not among our presets, no specific features will
-- Text might be too long for InfoMessage
local status_text = table.concat(lang_infos, "\n")
local TextViewer = require("ui/widget/textviewer")
local Font = require("ui/font")
UIManager:show(TextViewer:new{
title = _("Language tags (and hyphenation dictionaries) used since start up"),
text = status_text,
text_face = Font:getFace("smallinfont"),
text_font_face = "smallinfont",
justified = false,
height = math.floor(Screen:getHeight() * 0.8),
})
end,