ENH: give an init size

jira: [none]
Change-Id: I9a502135a6e5009220c6194d39dbef371a9a74a2
This commit is contained in:
xin.zhang 2025-04-02 19:35:04 +08:00 committed by lane.wei
parent d5d4dc4638
commit 5d45f68bfb
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,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));