From 80844ca3374718af3c6bde05363d732221aeaf53 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Tue, 5 Oct 2021 13:36:14 +0200 Subject: [PATCH] RichTooltips for the buttons on a sidebar: Fixed wrong positioning of the tooltip when PrusaSlicer is on secondary display Show a right triangle tip in the bottom right corner of the tooltip. --- src/slic3r/GUI/Plater.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 72cdd3db6..472c434a0 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -656,6 +656,7 @@ void Sidebar::priv::show_rich_tip(const wxString& tooltip, wxButton* btn) return; wxRichToolTip tip(tooltip, ""); tip.SetIcon(wxICON_NONE); + tip.SetTipKind(wxTipKind_BottomRight); tip.SetTitleFont(wxGetApp().normal_font()); tip.SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)); tip.SetTimeout(1200);