mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
FIX: scroll view can't slide && cnt_label display incomplete
Jira: [STUDIO-13176] Change-Id: I32dfc793a431412a7df02ae2b9d952d175d97deb (cherry picked from commit bdda60dd1dc37a4750cdb7b426de9e9518c581ea)
This commit is contained in:
@@ -666,7 +666,10 @@ void PartSkipDialog::UpdateCountLabel()
|
|||||||
if (part_state != PartState::psSkipped) tot_cnt++;
|
if (part_state != PartState::psSkipped) tot_cnt++;
|
||||||
}
|
}
|
||||||
m_cnt_label->SetLabel(wxString::Format(_L("%d"), check_cnt));
|
m_cnt_label->SetLabel(wxString::Format(_L("%d"), check_cnt));
|
||||||
|
m_cnt_label->Fit();
|
||||||
m_tot_label->SetLabel(wxString::Format(_L("/%d Selected"), tot_cnt));
|
m_tot_label->SetLabel(wxString::Format(_L("/%d Selected"), tot_cnt));
|
||||||
|
m_tot_label->Fit();
|
||||||
|
m_dlg_btn_sizer->Layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PartSkipDialog::Show(bool show)
|
bool PartSkipDialog::Show(bool show)
|
||||||
@@ -765,6 +768,7 @@ void PartSkipDialog::InitDialogUI()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_scroll_sizer->Layout();
|
m_scroll_sizer->Layout();
|
||||||
|
m_list_view->FitInside();
|
||||||
UpdateCountLabel();
|
UpdateCountLabel();
|
||||||
Refresh();
|
Refresh();
|
||||||
m_print_lock = false;
|
m_print_lock = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user