add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bctoggle.C
index 67af31ec4888534dd4b2c6332389b212e377938a..01832bd47d5a4ee37f2ce527ada1c1530dca175d 100644 (file)
@@ -97,7 +97,7 @@ void BC_Toggle::calculate_extents(BC_WindowBase *gui,
 
        if( caption ) {
                *text_w = gui->get_text_width(font, caption);
-               *text_h = gui->get_text_height(font);
+               *text_h = gui->get_text_height(font, caption);
 
                if( resources->toggle_highlight_bg ) {
                        *text_w += resources->toggle_text_margin * 2;