mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX: wxWidgets asserts
Change-Id: I583edbde501c2bfe8adfa8fdb525479a379a4cb8
This commit is contained in:
parent
a7bd14003b
commit
66c89c62e2
17 changed files with 46 additions and 39 deletions
|
@ -76,7 +76,7 @@ MachineInfoPanel::MachineInfoPanel(wxWindow* parent, wxWindowID id, const wxPoin
|
|||
m_staticText_ver = new wxStaticText(this, wxID_ANY, _L("Version:"), wxDefaultPosition, wxDefaultSize, 0);
|
||||
m_staticText_ver->Wrap(-1);
|
||||
m_staticText_ver->SetFont(Label::Head_14);
|
||||
m_ota_ver_sizer->Add(m_staticText_ver, 0, wxALIGN_RIGHT | wxALL, FromDIP(5));
|
||||
m_ota_ver_sizer->Add(m_staticText_ver, 0, wxALL, FromDIP(5));
|
||||
|
||||
m_ota_info_sizer->Add(m_ota_ver_sizer, 0, wxEXPAND, 0);
|
||||
|
||||
|
@ -563,7 +563,7 @@ UpgradePanel::UpgradePanel(wxWindow *parent, wxWindowID id, const wxPoint &pos,
|
|||
|
||||
m_scrolledWindow->SetSizerAndFit(m_machine_list_sizer);
|
||||
|
||||
m_main_sizer->Add(m_scrolledWindow, 1, wxALIGN_CENTER_HORIZONTAL | wxEXPAND, 0);
|
||||
m_main_sizer->Add(m_scrolledWindow, 1, wxEXPAND, 0);
|
||||
|
||||
this->SetSizerAndFit(m_main_sizer);
|
||||
|
||||
|
@ -679,7 +679,7 @@ bool UpgradePanel::Show(bool show)
|
|||
auto m_staticText_ams_ver = new wxStaticText(this, wxID_ANY, _L("Version:"), wxDefaultPosition, wxDefaultSize, 0);
|
||||
m_staticText_ams_ver->Wrap(-1);
|
||||
m_staticText_ams_ver->SetFont(Label::Head_14);
|
||||
m_ams_ver_sizer->Add(m_staticText_ams_ver, 0, wxALIGN_RIGHT | wxALL, FromDIP(5));
|
||||
m_ams_ver_sizer->Add(m_staticText_ams_ver, 0, wxALL, FromDIP(5));
|
||||
|
||||
m_staticText_ams_ver_val = new wxStaticText(this, wxID_ANY, "-", wxDefaultPosition, wxDefaultSize, 0);
|
||||
m_staticText_ams_ver_val->Wrap(-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue