From 03e637f85455e3287120d3df50e2aa838d77d910 Mon Sep 17 00:00:00 2001 From: theGreatWhiteShark Date: Wed, 16 Dec 2020 12:30:06 +0100 Subject: [PATCH] fix resizing (#65) Fixes #64 A small, resizable box in the bottom of the legacy GUI allowed the tree containing the session list to be scaled to zero width and thus to disappear. --- src/legacy-gui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/legacy-gui.cpp b/src/legacy-gui.cpp index 8d5e300..db1a3c4 100644 --- a/src/legacy-gui.cpp +++ b/src/legacy-gui.cpp @@ -958,8 +958,7 @@ public: /* Fl_Group::current()->resizable( o ); */ } // Fl_Scalepack - { Fl_Box *o = new Fl_Box( X + 300, Y + 30, 100, H - ( 30 + SH )); - Fl_Group::current()->resizable(o); + { new Fl_Box( X + 1000, Y + 30, 100, H - ( 30 + SH )); } { Fl_Text_Display *o = status_display = new Fl_Text_Display( X, Y + H - SH, W, SH );