ENH: give an init size

jira: [none]
Change-Id: I9a502135a6e5009220c6194d39dbef371a9a74a2
(cherry picked from commit 5d45f68bfb201cc1935bcd99d604e0e5416289de)
This commit is contained in:
xin.zhang 2025-04-02 19:35:04 +08:00 committed by Noisyfox
parent 8b2d727edd
commit 8c513c816b

View file

@ -126,6 +126,9 @@ SelectMachineDialog::SelectMachineDialog(Plater *plater)
m_scroll_area = new wxScrolledWindow(this);
m_scroll_area->SetScrollRate(20, 20);
m_scroll_area->SetBackgroundColour(m_colour_def_color);
m_scroll_area->SetMinSize(wxSize(FromDIP(700), FromDIP(600)));
m_scroll_area->SetMaxSize(wxSize(FromDIP(700), FromDIP(600)));
m_line_top = new wxPanel(m_scroll_area, wxID_ANY, wxDefaultPosition, wxSize(-1, 1), wxTAB_TRAVERSAL);
m_line_top->SetBackgroundColour(wxColour(166, 169, 170));