mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: update the bitmap by dpi
jira: [STUDIO-9952] Change-Id: I88d91146c83d11f7dc87b4dd5698087a342646d4 (cherry picked from commit 05f67d14f6d1853739a38dd05d68a8553bb99a75)
This commit is contained in:
@@ -3527,6 +3527,11 @@ void SelectMachineDialog::on_dpi_changed(const wxRect &suggested_rect)
|
||||
material1.second->item->msw_rescale();
|
||||
}
|
||||
|
||||
for(auto opt : m_checkbox_list)
|
||||
{
|
||||
opt.second->msw_rescale();
|
||||
}
|
||||
|
||||
Fit();
|
||||
Refresh();
|
||||
}
|
||||
@@ -4650,7 +4655,7 @@ void PrintOption::doRender(wxDC &dc)
|
||||
auto size = GetSize();
|
||||
dc.SetPen(wxPen(*wxTRANSPARENT_PEN));
|
||||
dc.SetBrush(GetBackgroundColour());
|
||||
dc.DrawRoundedRectangle(0, 0, size.x, size.y, 3);
|
||||
dc.DrawRoundedRectangle(0, 0, size.x, size.y, FromDIP(3));
|
||||
}
|
||||
|
||||
void PrintOption::setValue(std::string value)
|
||||
|
||||
Reference in New Issue
Block a user