mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-22 20:42:34 -07:00
FIX: update the bitmap by dpi
jira: [STUDIO-9952] Change-Id: I88d91146c83d11f7dc87b4dd5698087a342646d4 (cherry picked from commit 05f67d14f6d1853739a38dd05d68a8553bb99a75)
This commit is contained in:
parent
34f4300f4e
commit
389a7ff3a6
2 changed files with 10 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue