X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbclistbox.C;h=18d93c99668d63042e2621d5603dd01089afce86;hp=8ef0ab0b376247d7443d960cf9cefbec7cd41ee9;hb=6ff8b339d215bb1c2cef589fd7959aa2e1834105;hpb=0df48ad2d876409c5beeae2e21933a728ea76c33 diff --git a/cinelerra-5.1/guicast/bclistbox.C b/cinelerra-5.1/guicast/bclistbox.C index 8ef0ab0b..18d93c99 100644 --- a/cinelerra-5.1/guicast/bclistbox.C +++ b/cinelerra-5.1/guicast/bclistbox.C @@ -1780,12 +1780,13 @@ int BC_ListBox::get_scrollbars() int BC_ListBox::get_w() { - return is_popup ? button_images[0]->get_w() + xS(1) : popup_w; + return is_popup ? BCPOPUPLISTBOX_W : popup_w; } int BC_ListBox::get_h() { - return is_popup ? button_images[0]->get_h() + yS(1) : popup_h; + return is_popup ? BCPOPUPLISTBOX_H : popup_h; } + int BC_ListBox::gui_tooltip(const char *text) { return is_popup && gui ? gui->show_tooltip(text, gui->get_w(),0, -1,-1) : -1;