From 15537b0c23c0177ead180335a0da52a1d98574f1 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 30 Mar 2024 16:17:44 +0100 Subject: [PATCH] Gui: the overlay icon for the call tips list is too small --- src/Gui/CallTips.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/CallTips.cpp b/src/Gui/CallTips.cpp index f39d564106..f022637eb8 100644 --- a/src/Gui/CallTips.cpp +++ b/src/Gui/CallTips.cpp @@ -472,7 +472,7 @@ void CallTipsList::showTips(const QString& line) static QPixmap property_icon = BitmapFactory().pixmap("ClassBrowser/property.svg"); // object is in error state - static QPixmap forbidden_icon(Gui::BitmapFactory().pixmapFromSvg("forbidden", QSize(8, 8))); + static QPixmap forbidden_icon(Gui::BitmapFactory().pixmapFromSvg("forbidden", property_icon.size() / 4)); static QPixmap forbidden_type_module_icon = BitmapFactory().merge(type_module_icon,forbidden_icon,BitmapFactoryInst::BottomLeft); static QPixmap forbidden_type_class_icon = BitmapFactory().merge(type_class_icon,forbidden_icon,BitmapFactoryInst::BottomLeft); static QPixmap forbidden_method_icon = BitmapFactory().merge(method_icon,forbidden_icon,BitmapFactoryInst::BottomLeft);