From: Good Guy Date: Wed, 15 Apr 2020 22:12:20 +0000 (-0600) Subject: scopewindow layout tweak X-Git-Tag: 2020-04~10 X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=commitdiff_plain;h=9ff2bf4dedcb2e3d94e29e121aada715ff30e90e scopewindow layout tweak --- 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();