mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Custom control : fixed re-scaling for MSW
This commit is contained in:
parent
1b3c288b35
commit
e93e80166b
6 changed files with 173 additions and 79 deletions
|
@ -677,6 +677,9 @@ void TabPrinter::msw_rescale()
|
|||
for (auto page : pages)
|
||||
page->msw_rescale();
|
||||
|
||||
if (m_reset_to_filament_color)
|
||||
m_reset_to_filament_color->msw_rescale();
|
||||
|
||||
Layout();
|
||||
}
|
||||
|
||||
|
@ -951,6 +954,9 @@ void Tab::msw_rescale()
|
|||
for (ScalableBitmap& bmp : m_mode_bitmap_cache)
|
||||
bmp.msw_rescale();
|
||||
|
||||
if (m_detach_preset_btn)
|
||||
m_detach_preset_btn->msw_rescale();
|
||||
|
||||
// rescale icons for tree_ctrl
|
||||
for (ScalableBitmap& bmp : m_scaled_icons_list)
|
||||
bmp.msw_rescale();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue