mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 06:55:57 +08:00
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.
This commit is contained in:
parent
29a5f48f43
commit
80844ca337
@ -656,6 +656,7 @@ void Sidebar::priv::show_rich_tip(const wxString& tooltip, wxButton* btn)
|
|||||||
return;
|
return;
|
||||||
wxRichToolTip tip(tooltip, "");
|
wxRichToolTip tip(tooltip, "");
|
||||||
tip.SetIcon(wxICON_NONE);
|
tip.SetIcon(wxICON_NONE);
|
||||||
|
tip.SetTipKind(wxTipKind_BottomRight);
|
||||||
tip.SetTitleFont(wxGetApp().normal_font());
|
tip.SetTitleFont(wxGetApp().normal_font());
|
||||||
tip.SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
tip.SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
||||||
tip.SetTimeout(1200);
|
tip.SetTimeout(1200);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user