update dav1d to 0.5.0, replace cakewalk loadmode icons, awdw info_tip tweaks, update...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / awindowgui.C
index e2340d1e4a601c11ef499c79f8b0a7fd339bba93..f668ee515fe02d85cadd2ef40e20ef686d8e1b93 100644 (file)
@@ -3129,7 +3129,12 @@ int AWindowAssets::mouse_over_event(int no)
 
 void AWindowAssets::show_tip_info(const char *info, int no)
 {
-       show_tooltip(info);
+       int margin = 28;
+       int tw = get_text_width(MEDIUMFONT, info) + TOOLTIP_MARGIN * 2;
+       int th = get_text_height(MEDIUMFONT, info) + TOOLTIP_MARGIN * 2;
+       int tx = get_w() - (tw + margin);
+       int ty = get_h() - (th + margin);
+       show_tooltip(info, tx, ty, tw, th);
        info_tip = no;
 }