X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fzoompanel.C;h=940774694333cb1e1a066cb3e2851c307f61c593;hb=1da768016a2ecba0296b03d75c02879f99a0f582;hp=e826e30bd837e7f8f39d9ea869292a56ae9deb8b;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/zoompanel.C b/cinelerra-5.1/cinelerra/zoompanel.C index e826e30b..94077469 100644 --- a/cinelerra-5.1/cinelerra/zoompanel.C +++ b/cinelerra-5.1/cinelerra/zoompanel.C @@ -106,7 +106,7 @@ void ZoomPanel::calculate_menu() int ZoomPanel::calculate_w(int menu_w) { - return BC_PopupMenu::calculate_w(menu_w) + BC_Tumbler::calculate_w(); + return BC_PopupMenu::calculate_w(-1, menu_w, 1) + BC_Tumbler::calculate_w(); } void ZoomPanel::update_menu() @@ -267,7 +267,7 @@ double ZoomPanel::text_to_zoom(char *text, int use_table) ZoomPopup::ZoomPopup(MWindow *mwindow, ZoomPanel *panel, int x, int y) : BC_PopupMenu(x, y, panel->w, panel->value_to_text(panel->value, 0), - 1, mwindow->theme->get_image_set("zoombar_menu", 0)) + 1, mwindow->theme->get_image_set("zoombar_menu", 0), 0) { this->mwindow = mwindow; this->panel = panel;