FIX:adjust rounding of some buttons

Change-Id: I8d1ed2b3d352689ea99fe00f26e405cc63151073
This commit is contained in:
liz.li 2022-08-10 12:31:55 +08:00 committed by Lane.Wei
parent 802036fcd8
commit 618aebfb79
16 changed files with 37 additions and 34 deletions

View file

@ -50,7 +50,7 @@ MediaFilePanel::MediaFilePanel(wxWindow * parent)
// File type
m_type_panel = new ::StaticBox(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE);
m_type_panel->SetBackgroundColor(*wxWHITE);
m_type_panel->SetCornerRadius(5);
m_type_panel->SetCornerRadius(FromDIP(5));
m_type_panel->SetMinSize({-1, 48 * em_unit(this) / 10});
m_button_timelapse = new ::Button(m_type_panel, _L("Timelapse"), "", wxBORDER_NONE);
m_button_video = new ::Button(m_type_panel, _L("Video"), "", wxBORDER_NONE);