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:
xun.zhang 2025-01-13 21:27:28 +08:00 committed by lane.wei
parent 4b6f82d042
commit 481199c6a2
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ CapsuleButton::CapsuleButton(wxWindow *parent, wxWindowID id, const wxString &la
Bind(wxEVT_ENTER_WINDOW, &CapsuleButton::OnEnterWindow, this);
Bind(wxEVT_LEAVE_WINDOW, &CapsuleButton::OnLeaveWindow, this);
GUI::wxGetApp().UpdateDarkUIWin(this);
UpdateStatus();
}
void CapsuleButton::OnPaint(wxPaintEvent &event)
{