From 7884d55c1a0d8fd2b1c16abbf31ed76993dc1d64 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 16 Jul 2025 12:47:40 +0200 Subject: [PATCH] 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 a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 3c1081d9b..811b13e68 100644 --- a/src/Fl_Help_View.cxx +++ b/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_);