X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fframefield%2Fframefield.C;fp=cinelerra-5.1%2Fplugins%2Fframefield%2Fframefield.C;h=da36db3f237d2d6bc58aad6d210424f39499dd0d;hp=314ab2b2bb6e8fb02018e133a9e84291d39108a3;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa diff --git a/cinelerra-5.1/plugins/framefield/framefield.C b/cinelerra-5.1/plugins/framefield/framefield.C index 314ab2b2..da36db3f 100644 --- a/cinelerra-5.1/plugins/framefield/framefield.C +++ b/cinelerra-5.1/plugins/framefield/framefield.C @@ -187,10 +187,10 @@ int FrameFieldConfig::equivalent(FrameFieldConfig &src) FrameFieldWindow::FrameFieldWindow(FrameField *plugin) : PluginClientWindow(plugin, - 210, - 160, - 200, - 160, + xS(210), + yS(160), + xS(200), + yS(160), 0) { this->plugin = plugin; @@ -198,11 +198,13 @@ FrameFieldWindow::FrameFieldWindow(FrameField *plugin) void FrameFieldWindow::create_objects() { - int x = 10, y = 10; + int xs10 = xS(10); + int ys5 = yS(5), ys10 = yS(10); + int x = xs10, y = ys10; add_subwindow(top = new FrameFieldTop(plugin, this, x, y)); - y += top->get_h() + 5; + y += top->get_h() + ys5; add_subwindow(bottom = new FrameFieldBottom(plugin, this, x, y)); - y += bottom->get_h() + 5; + y += bottom->get_h() + ys5; show_window(); flush(); }