commit 7884d55c1a0d8fd2b1c16abbf31ed76993dc1d64 Author: Matthias Melcher <github@matthiasm.com> AuthorDate: Wed Jul 16 12:47:40 2025 +0200 Commit: Matthias Melcher <github@matthiasm.com> CommitDate: Wed Jul 16 12:47:40 2025 +0200 Backport 2803f70 #1114: Ensure minimum height of last block in Fl_Help_View src/Fl_Help_View.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git src/Fl_Help_View.cxx src/Fl_Help_View.cxx index 3c1081d..811b13e 100644 --- src/Fl_Help_View.cxx +++ src/Fl_Help_View.cxx @@ -1989,6 +1989,9 @@ void Fl_Help_View::format() { block->end = ptr; size_ = yy + hh; } + + // Make sure that the last block will have the correct height. + if (hh > block->h) block->h = hh; // printf("margins.depth_=%d\n", margins.depth_);