#15 Whiptail backtitle hiding tall dialogs with automatic sizes
Closed: Fixed a year ago by mlichvar. Opened 3 years ago by lofoxo3618.

If no width and height are set the dialog size is automatic.

If we have for example a menu with a long list of elements the dialog occupy the whole terminal height and the backtitle covers the dialog header.
whiptail_bug.png

It would be nice if the height of the dialog took the backtitle into consideration and was 2 characters shorter.


Do you have an example code?

Most dialogs in newt require both height and width to be specified. Checkboxtree and listbox don't need width as they set it to the text length by default. Listbox has a minimum height, which increases automatically if it's not scrollable.

This should be now fixed in the latest code.

Metadata Update from @mlichvar:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata
Attachments 1
Attached 3 years ago View Comment