X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fscopewindow.C;fp=cinelerra-5.1%2Fcinelerra%2Fscopewindow.C;h=9e05c15a4be6b5c827342778215f427a5d191b0a;hp=582579a6eddfaf8e15e23ac953a9e6903152f978;hb=9ff2bf4dedcb2e3d94e29e121aada715ff30e90e;hpb=692f1e4f7a79765fd59fbd297d90f534807f8fbe 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();