TextViewer: add dialog to set font size and justify text (#11210)

This commit is contained in:
hius07
2023-12-14 07:50:54 +02:00
committed by GitHub
parent fe02b83b6a
commit f4a5a2b60a
14 changed files with 180 additions and 131 deletions

View File

@@ -927,6 +927,7 @@ function ReaderHighlight:showHighlightNoteOrDialog(page, index, bookmark_note)
local textviewer
textviewer = TextViewer:new{
title = _("Note"),
show_menu = false,
text = bookmark_note,
width = math.floor(math.min(self.screen_w, self.screen_h) * 0.8),
height = math.floor(math.max(self.screen_w, self.screen_h) * 0.4),