mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 13:47:59 -06:00
MSW specific: Fixed rescaling for the BitmapComboBox control and Notebook tab buttons
This commit is contained in:
parent
558336f325
commit
4b5cf004bd
9 changed files with 58 additions and 8 deletions
|
@ -402,6 +402,10 @@ void Preview::refresh_print()
|
|||
|
||||
void Preview::msw_rescale()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
m_choice_view_type->Rescale();
|
||||
m_choice_view_type->SetMinSize(m_choice_view_type->GetSize());
|
||||
#endif
|
||||
// rescale slider
|
||||
if (m_layers_slider != nullptr) m_layers_slider->msw_rescale();
|
||||
if (m_moves_slider != nullptr) m_moves_slider->msw_rescale();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue