From 9a326dbe012a2ac180cf4350c8199a9550e836f4 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 8 Feb 2022 18:56:59 +0100 Subject: [PATCH] Account for presence of terminal panel in the size_range() call. --- test/menubar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/menubar.cxx b/test/menubar.cxx index 7a4f4d87a..d36c3e91e 100644 --- a/test/menubar.cxx +++ b/test/menubar.cxx @@ -252,7 +252,7 @@ int main(int argc, char **argv) { menus[3] = &mb; Fl_Box b(200,200,200,100,"Press right button\nfor a pop-up menu"); window.resizable(&mb); - window.size_range(300,400,0,400); + window.size_range(300,400,0,400+TERMINAL_HEIGHT); #ifdef __APPLE__ Fl_Choice ch2(500,100,150,25,"Use:"); ch2.menu(menu_location);