From 2803f70f584f3a3d88d02b122f44b90d15cc22c1 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 8 Jul 2025 15:19:21 +0200 Subject: #1114: Ensure minimum height of last block in Fl_Help_View --- src/Fl_Help_View.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_Help_View.cxx') diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index dec38a6a8..da436a5f5 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -1663,6 +1663,8 @@ void Fl_Help_View::Impl::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_); -- cgit v1.2.3