From 9ff2bf4dedcb2e3d94e29e121aada715ff30e90e Mon Sep 17 00:00:00 2001 From: Good Guy Date: Wed, 15 Apr 2020 16:12:20 -0600 Subject: [PATCH] scopewindow layout tweak --- cinelerra-5.1/cinelerra/scopewindow.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cinelerra-5.1/cinelerra/scopewindow.C b/cinelerra-5.1/cinelerra/scopewindow.C index 582579a6..9e05c15a 100644 --- a/cinelerra-5.1/cinelerra/scopewindow.C +++ b/cinelerra-5.1/cinelerra/scopewindow.C @@ -489,11 +489,10 @@ void ScopeGUI::create_objects() int margin = theme->widget_border; int x = margin; int y = margin; - add_subwindow(smooth = new ScopeSmooth(this, x, y)); - y += smooth->get_h() + margin; add_subwindow(scope_menu = new ScopeMenu(this, x, y)); scope_menu->create_objects(); - y += scope_menu->get_h() + margin; + int x1 = x + scope_menu->get_w() + 2*margin; + add_subwindow(smooth = new ScopeSmooth(this, x1, y)); create_panels(); update_toggles(); -- 2.26.2