mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-15 03:41:28 +00:00
Unify wiki & video guide buttons (#16159)
* init * fix build * Update PrintOptionsDialog.cpp * Update TroubleshootDialog.cpp
This commit is contained in:
@@ -223,6 +223,12 @@ void Button::SetStyle(const ButtonStyle style, const ButtonType type)
|
||||
this->SetMinSize(FromDIP(wxSize(26, 26)));
|
||||
this->SetSize(FromDIP(wxSize(26, 26)));
|
||||
this->SetCornerRadius(this->FromDIP(4));
|
||||
} else if (type == ButtonType::Circle) {
|
||||
this->SetPaddingSize(FromDIP(wxSize(6, 6)));
|
||||
this->SetMinSize(FromDIP(wxSize(25, 25)));
|
||||
this->SetMaxSize(FromDIP(wxSize(25, 25)));
|
||||
this->SetSize(FromDIP(wxSize(25, 25)));
|
||||
this->SetCornerRadius(this->FromDIP(12));
|
||||
} else if (type == ButtonType::Expanded) {
|
||||
this->SetMinSize(FromDIP(wxSize(-1, 32)));
|
||||
this->SetPaddingSize(FromDIP(wxSize(12, 8)));
|
||||
|
||||
Reference in New Issue
Block a user