From 23b1bc07a4922db2fdaa20948334f88b6ecb4af3 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Thu, 12 Aug 2021 09:29:47 +0200 Subject: [PATCH] narrow mr. clippy logo --- resources/icons/notification_clippy.svg | 283 ++++++++++++++++++++---- src/slic3r/GUI/HintNotification.cpp | 2 +- 2 files changed, 236 insertions(+), 49 deletions(-) diff --git a/resources/icons/notification_clippy.svg b/resources/icons/notification_clippy.svg index e7eb207fe7..eaa922e5aa 100644 --- a/resources/icons/notification_clippy.svg +++ b/resources/icons/notification_clippy.svg @@ -1,49 +1,236 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/slic3r/GUI/HintNotification.cpp b/src/slic3r/GUI/HintNotification.cpp index ef35bba64d..85d4629e6c 100644 --- a/src/slic3r/GUI/HintNotification.cpp +++ b/src/slic3r/GUI/HintNotification.cpp @@ -354,7 +354,7 @@ void NotificationManager::HintNotification::count_spaces() std::string text; text = ImGui::WarningMarker; float picture_width = ImGui::CalcTextSize(text.c_str()).x; - m_left_indentation = picture_width * 2 + m_line_height / 2; + m_left_indentation = picture_width * 1.5f + m_line_height / 2; // no left button picture //m_left_indentation = m_line_height;