|
|
commit 9a326dbe012a2ac180cf4350c8199a9550e836f4
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Feb 8 18:56:59 2022 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Feb 8 18:56:59 2022 +0100
Account for presence of terminal panel in the size_range() call.
test/menubar.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git test/menubar.cxx test/menubar.cxx
index 7a4f4d8..d36c3e9 100644
--- test/menubar.cxx
+++ 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);
[ Direct Link to Message ] | |
|
| |