From 00f33487739e8b92ca5e34d8891dc068b28b30aa Mon Sep 17 00:00:00 2001 From: nebogeo Date: Mon, 29 Jul 2002 23:17:50 +0000 Subject: [PATCH] fixed dodgy group resizing --- SpiralSynthModular.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpiralSynthModular.C b/SpiralSynthModular.C index acd2835..98c875f 100644 --- a/SpiralSynthModular.C +++ b/SpiralSynthModular.C @@ -289,6 +289,7 @@ SpiralWindowType *SynthModular::CreateWindow() m_CanvasScroll = new Fl_Scroll(TOOLBOX_WIDTH, 0+edy, MAIN_WIDTH-TOOLBOX_WIDTH, MAIN_HEIGHT, ""); m_EditorWindow->add(m_CanvasScroll); + m_EditorWindow->resizable(m_CanvasScroll); m_Canvas = new Fl_Canvas(-5000, -5000, 10000, 10000, "Canvas"); m_Canvas->type(1); @@ -315,7 +316,7 @@ SpiralWindowType *SynthModular::CreateWindow() m_NewComment->tooltip("New comment in editor"); m_NewComment->user_data((void*)(this)); m_NewComment->callback((Fl_Callback*)cb_NewComment); - m_EditorWindow->add(m_NewComment); + m_Buttons->add(m_NewComment); m_SettingsWindow = new SettingsWindow; m_SettingsWindow->RegisterApp(this);