diff options
author | YuSanka <yusanka@gmail.com> | 2019-04-23 17:33:06 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-04-23 17:33:06 +0300 |
commit | aa147482b7adac21ea4a979cdf06ec545877f7c5 (patch) | |
tree | 210a379145e55597022fb4277a49332cf3938d43 /src/slic3r/GUI/Preset.hpp | |
parent | 5e45cff85555991eca3b747972ab6faa1076365e (diff) |
Added _fiction_ resizing for correct MainFrame rendering after DPI changed_object
+ Added a calculation of a empty bitmaps inside presets in respect to em_unit (to avoid assert)
+ Added scaling for PrintHostDialogs and MsgDialog
+ some code refactoring
Diffstat (limited to 'src/slic3r/GUI/Preset.hpp')
-rw-r--r-- | src/slic3r/GUI/Preset.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Preset.hpp b/src/slic3r/GUI/Preset.hpp index 6174af623..051a55f66 100644 --- a/src/slic3r/GUI/Preset.hpp +++ b/src/slic3r/GUI/Preset.hpp @@ -394,7 +394,7 @@ public: // Update the choice UI from the list of presets. // If show_incompatible, all presets are shown, otherwise only the compatible presets are shown. // If an incompatible preset is selected, it is shown as well. - size_t update_tab_ui(wxBitmapComboBox *ui, bool show_incompatible); + size_t update_tab_ui(wxBitmapComboBox *ui, bool show_incompatible, const int em = 10); // Update the choice UI from the list of presets. // Only the compatible presets are shown. // If an incompatible preset is selected, it is shown as well. |