X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fformatpresets.C;h=bb27ba0c0054e7e8eea45bb1e1293b5b87545c93;hp=ab9678235a6fa86bdc5196c220016e2f9bd2b387;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa diff --git a/cinelerra-5.1/cinelerra/formatpresets.C b/cinelerra-5.1/cinelerra/formatpresets.C index ab967823..bb27ba0c 100644 --- a/cinelerra-5.1/cinelerra/formatpresets.C +++ b/cinelerra-5.1/cinelerra/formatpresets.C @@ -66,7 +66,7 @@ void FormatPresets::create_objects() gui_base->add_subwindow(new BC_Title(x, y, _("Presets:"))); int x1 = x; - y += 20; + y += yS(20); gui_base->add_subwindow(text = new FormatPresetsText(mwindow, @@ -129,10 +129,7 @@ FormatPresetsText::FormatPresetsText(MWindow *mwindow, FormatPresets *gui, int x, int y) - : BC_TextBox(x, - y, - 200, - 1, + : BC_TextBox(x, y, xS(200), 1, gui->get_preset_text(gui->get_edl())) { this->gui = gui; @@ -157,7 +154,7 @@ FormatPresetsPulldown::FormatPresetsPulldown(MWindow *mwindow, FormatPresets *gui, int x, int y) - : BC_ListBox(x, y, 200, 250, + : BC_ListBox(x, y, xS(200), yS(250), LISTBOX_TEXT, // Display text list or icons (ArrayList*)&gui->preset_items, // Each column has an ArrayList of BC_ListBoxItems. 0, // Titles for columns. Set to 0 for no titles