From 98255ad710e4ad56339521ef33ddf075d119722d Mon Sep 17 00:00:00 2001 From: Kunlong Ma Date: Fri, 31 May 2024 12:07:51 +0800 Subject: [PATCH] FIX: fix icons and text overlap Change-Id: Id6fb4cc5d6baf70a168d4c35b851fd2f32496113 --- src/slic3r/GUI/NotificationManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/NotificationManager.cpp b/src/slic3r/GUI/NotificationManager.cpp index f4e256f74..5553e470a 100644 --- a/src/slic3r/GUI/NotificationManager.cpp +++ b/src/slic3r/GUI/NotificationManager.cpp @@ -436,7 +436,12 @@ void NotificationManager::PopNotification::count_spaces() //} m_window_width_offset = m_left_indentation + m_line_height * 3.f; if (m_data.level == NotificationLevel::ErrorNotificationLevel || m_data.level == NotificationLevel::SeriousWarningNotificationLevel) { + +#ifdef __APPLE__ + m_left_indentation = 52 + m_line_height; +#else m_left_indentation = 32 + m_line_height; +#endif // __APPLE__ m_window_width_offset = 90.f; } m_window_width = m_line_height * 25;