mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
TextViewer: font size (#10911)
This commit is contained in:
@@ -526,7 +526,6 @@ function ReaderBookmark:onShowBookmark(match_table)
|
||||
textviewer = TextViewer:new{
|
||||
title = _("Bookmark details"),
|
||||
text = bm_view,
|
||||
justified = G_reader_settings:nilOrTrue("dict_justify"),
|
||||
buttons_table = {
|
||||
{
|
||||
{
|
||||
|
||||
@@ -891,7 +891,6 @@ function ReaderHighlight:showHighlightNoteOrDialog(page, index, bookmark_note)
|
||||
text = bookmark_note,
|
||||
width = math.floor(math.min(Screen:getWidth(), Screen:getHeight()) * 0.8),
|
||||
height = math.floor(math.max(Screen:getWidth(), Screen:getHeight()) * 0.4),
|
||||
justified = G_reader_settings:nilOrTrue("dict_justify"),
|
||||
buttons_table = {
|
||||
{
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user