FIX: white spaces in capsule button

jira:STUDIO-9769

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I7d9b7ab1483574f67bfd6cd25132d28295e22bc2
(cherry picked from commit 481199c6a24306a6f0e4d93e66b574cedea1e700)
This commit is contained in:
xun.zhang
2025-01-13 21:27:28 +08:00
committed by Noisyfox
parent 270c52b2c7
commit 260310e2fb

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)
{