From b6861a5791a0c0cf6f5c228f4e25c940a09ba972 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 5 Dec 2018 16:24:43 +0100 Subject: [PATCH] System Dialog - use bigger image, as the smaller one is not contained in our Windows binary distro. Fixed typo in "Add support bloker" --- src/slic3r/GUI/GUI_ObjectList.cpp | 2 +- src/slic3r/GUI/SysInfoDialog.cpp | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 2baec7761..aa4415557 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -623,7 +623,7 @@ wxMenu* ObjectList::create_object_popupmenu() std::vector menu_object_types_items = {L("Add part"), // ~ModelVolume::MODEL_PART L("Add modifier"), // ~ModelVolume::PARAMETER_MODIFIER L("Add support enforcer"), // ~ModelVolume::SUPPORT_ENFORCER - L("Add support bloker") }; // ~ModelVolume::SUPPORT_BLOCKER + L("Add support blocker") }; // ~ModelVolume::SUPPORT_BLOCKER const int obj_types_count = menu_object_types_items.size(); const int generics_count = 5; // "Load ...", "Box", "Cylinder", "Sphere", "Slab" diff --git a/src/slic3r/GUI/SysInfoDialog.cpp b/src/slic3r/GUI/SysInfoDialog.cpp index 71c1c611d..f7f1cfedb 100644 --- a/src/slic3r/GUI/SysInfoDialog.cpp +++ b/src/slic3r/GUI/SysInfoDialog.cpp @@ -48,7 +48,7 @@ SysInfoDialog::SysInfoDialog() main_sizer->Add(hsizer, 0, wxEXPAND | wxALL, 10); // logo - wxBitmap logo_bmp = wxBitmap(from_u8(Slic3r::var("Slic3r_128px.png")), wxBITMAP_TYPE_PNG); + wxBitmap logo_bmp = wxBitmap(from_u8(Slic3r::var("Slic3r_192px.png")), wxBITMAP_TYPE_PNG); auto *logo = new wxStaticBitmap(this, wxID_ANY, std::move(logo_bmp)); hsizer->Add(logo, 0, wxEXPAND | wxTOP | wxBOTTOM, 15); @@ -61,9 +61,9 @@ SysInfoDialog::SysInfoDialog() wxFont title_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); title_font.SetWeight(wxFONTWEIGHT_BOLD); title_font.SetFamily(wxFONTFAMILY_ROMAN); - title_font.SetPointSize(14); + title_font.SetPointSize(22); title->SetFont(title_font); - vsizer->Add(title, 0, wxALIGN_LEFT | wxTOP, 10); + vsizer->Add(title, 0, wxALIGN_LEFT | wxTOP, 50); } // main_info_text @@ -92,7 +92,6 @@ SysInfoDialog::SysInfoDialog() vsizer->Add(html, 1, wxEXPAND); } - // opengl_info wxHtmlWindow* opengl_info_html = new wxHtmlWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO); {