InputDialog: add 'use_available_height' option (#8467)

Use it with bookmark edit, to allow entering longer notes.
This commit is contained in:
Dylan Garrett authored and GitHub committed 2021-11-28 23:30:15 +01:00
1 parent c8c55423a7
commit 7495ea29ef
2 files changed
+6 -3

No files matched your search

@@ -893,8 +893,8 @@ function ReaderBookmark:renameBookmark(item, from_highlight)
description = " " .. T(_("Page: %1"), bookmark.mandatory) .. " " .. T(_("Time: %1"), bookmark.datetime),
input = bookmark.text_orig,
allow_newline = true,
cursor_at_end = false,
add_scroll_buttons = true,
use_available_height = true,
buttons = {
{
{