mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
TextViewer: add dialog to set font size and justify text (#11210)
This commit is contained in:
@@ -189,6 +189,7 @@ local function initTouchEvents()
|
||||
local clipboard_dialog
|
||||
clipboard_dialog = require("ui/widget/textviewer"):new{
|
||||
title = _("Clipboard"),
|
||||
show_menu = false,
|
||||
text = is_clipboard_empty and _("(empty)") or clipboard_value,
|
||||
fgcolor = is_clipboard_empty and Blitbuffer.COLOR_DARK_GRAY or Blitbuffer.COLOR_BLACK,
|
||||
width = math.floor(math.min(Screen:getWidth(), Screen:getHeight()) * 0.8),
|
||||
|
||||
Reference in New Issue
Block a user