diff options
author | YuSanka <yusanka@gmail.com> | 2019-02-11 16:14:35 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-02-11 16:14:35 +0300 |
commit | f899cf1c91031cb80884274c9ef1394576bc658f (patch) | |
tree | 30f8239c7b31a0822b6fe5dce0ac8f38213f5cd3 /src/slic3r/GUI/SysInfoDialog.cpp | |
parent | 2e14f3456e36db3c36ee52dcf00bd22b88ea310b (diff) |
Added scaling for more some dialogs
+ Set size for mode buttons
Diffstat (limited to 'src/slic3r/GUI/SysInfoDialog.cpp')
-rw-r--r-- | src/slic3r/GUI/SysInfoDialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/slic3r/GUI/SysInfoDialog.cpp b/src/slic3r/GUI/SysInfoDialog.cpp index 1c449c4cd..9c692a989 100644 --- a/src/slic3r/GUI/SysInfoDialog.cpp +++ b/src/slic3r/GUI/SysInfoDialog.cpp @@ -6,6 +6,7 @@ #include <wx/clipbrd.h> #include <wx/platinfo.h> #include "GUI_App.hpp" +#include "wxExtensions.hpp" namespace Slic3r { namespace GUI { @@ -49,8 +50,9 @@ SysInfoDialog::SysInfoDialog() main_sizer->Add(hsizer, 1, wxEXPAND | wxALL, 10); // logo - 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)); +// 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)); + auto *logo = new wxStaticBitmap(this, wxID_ANY, create_scaled_bitmap("Slic3r_192px.png")); hsizer->Add(logo, 0, wxALIGN_CENTER_VERTICAL); wxBoxSizer* vsizer = new wxBoxSizer(wxVERTICAL); |