mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
Backport 2803f70
#1114: Ensure minimum height of last block in Fl_Help_View
This commit is contained in:
@@ -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_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user