mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX:adjust rounding of some buttons
Change-Id: I8d1ed2b3d352689ea99fe00f26e405cc63151073
This commit is contained in:
parent
802036fcd8
commit
618aebfb79
16 changed files with 37 additions and 34 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue