From 23b1bc07a4922db2fdaa20948334f88b6ecb4af3 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Thu, 12 Aug 2021 09:29:47 +0200 Subject: [PATCH 1/2] 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 e7eb207fe..eaa922e5a 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 ef35bba64..85d4629e6 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; From 4e9a94949787634910ab3dae167ad2e1cb0882d1 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Thu, 12 Aug 2021 08:46:24 +0200 Subject: [PATCH 2/2] narrow mr. clippy with outline --- resources/icons/notification_clippy.svg | 496 +++++++++++++----------- 1 file changed, 270 insertions(+), 226 deletions(-) diff --git a/resources/icons/notification_clippy.svg b/resources/icons/notification_clippy.svg index eaa922e5a..406ad2bfa 100644 --- a/resources/icons/notification_clippy.svg +++ b/resources/icons/notification_clippy.svg @@ -7,230 +7,274 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - inkscape:version="1.0 (4035a4fb49, 2020-05-01)" - sodipodi:docname="notification_clippy.svg" - id="svg98" version="1.1" - viewBox="0 0 99.999999 100" - height="100" - width="100"> - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="Layer_1" + x="0px" + y="0px" + viewBox="0 0 105.1 105.1" + xml:space="preserve" + sodipodi:docname="notification_clippy.svg" + width="105.1" + height="105.1" + inkscape:version="1.0 (4035a4fb49, 2020-05-01)">image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +