summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-08 18:56:59 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-08 18:56:59 +0100
commit9a326dbe012a2ac180cf4350c8199a9550e836f4 (patch)
tree1c2365e1859e1cf20446bdc55ca2d1a87a54d362
parentbf16e4e8aaff642e47defcbb0f0aa992b20bb0b7 (diff)
Account for presence of terminal panel in the size_range() call.
-rw-r--r--test/menubar.cxx2
1 files changed, 1 insertions, 1 deletions
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);