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

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

No files matched your search

@@ -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),