FIX:adjust rounding of some buttons

Change-Id: I8d1ed2b3d352689ea99fe00f26e405cc63151073
This commit is contained in:
liz.li authored and Lane.Wei committed 2022-08-26 09:25:59 +08:00
1 parent 802036fcd8
commit 618aebfb79
16 files changed
+37 -34

No files matched your search

@@ -221,6 +221,7 @@ bool ProgressDialog::Create(const wxString &title, const wxString &message, int
m_button_cancel = new Button(this, _L("Cancel"));
m_button_cancel->SetTextColor(PROGRESSDIALOG_GREY_700);
m_button_cancel->SetMinSize(PROGRESSDIALOG_CANCEL_BUTTON_SIZE);
m_button_cancel->SetCornerRadius(PROGRESSDIALOG_CANCEL_BUTTON_SIZE.y / 2);
m_button_cancel->Bind(wxEVT_LEFT_DOWN, [this](wxMouseEvent &event) {
if (m_state == Finished) {
event.Skip();