InputDialog: add 'use_available_height' option (#8467)

Use it with bookmark edit, to allow entering longer notes.
This commit is contained in:
Dylan Garrett
2021-11-28 14:30:15 -08:00
committed by GitHub
parent c8c55423a7
commit 7495ea29ef
2 changed files with 6 additions and 3 deletions

View File

@@ -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 = {
{
{