FIX: white spaces in capsule button
jira:STUDIO-9769 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I7d9b7ab1483574f67bfd6cd25132d28295e22bc2
This commit is contained in:
parent
4b6f82d042
commit
481199c6a2
|
@ -56,7 +56,7 @@ CapsuleButton::CapsuleButton(wxWindow *parent, wxWindowID id, const wxString &la
|
||||||
Bind(wxEVT_ENTER_WINDOW, &CapsuleButton::OnEnterWindow, this);
|
Bind(wxEVT_ENTER_WINDOW, &CapsuleButton::OnEnterWindow, this);
|
||||||
Bind(wxEVT_LEAVE_WINDOW, &CapsuleButton::OnLeaveWindow, this);
|
Bind(wxEVT_LEAVE_WINDOW, &CapsuleButton::OnLeaveWindow, this);
|
||||||
|
|
||||||
GUI::wxGetApp().UpdateDarkUIWin(this);
|
UpdateStatus();
|
||||||
}
|
}
|
||||||
void CapsuleButton::OnPaint(wxPaintEvent &event)
|
void CapsuleButton::OnPaint(wxPaintEvent &event)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue