diff options
author | YuSanka <yusanka@gmail.com> | 2019-02-04 14:07:15 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-02-04 14:07:15 +0300 |
commit | b7f24aebe34ec9b0d7fb054906cc3f0cb859a96e (patch) | |
tree | e5e36b9ea146f96e163b3c417f070cd8b4cb4376 /src/slic3r/GUI/BedShapeDialog.cpp | |
parent | e2b8c3e33c0c7e2ade58170403c289b454be4051 (diff) |
Fixed rounding of numbers for the controls width (Try to fix controls flashing on HDPI/linux)
Diffstat (limited to 'src/slic3r/GUI/BedShapeDialog.cpp')
-rw-r--r-- | src/slic3r/GUI/BedShapeDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/BedShapeDialog.cpp b/src/slic3r/GUI/BedShapeDialog.cpp index 033443880..bf3ba207b 100644 --- a/src/slic3r/GUI/BedShapeDialog.cpp +++ b/src/slic3r/GUI/BedShapeDialog.cpp @@ -124,7 +124,7 @@ ConfigOptionsGroupShp BedShapePanel::init_shape_options_page(wxString title) ConfigOptionsGroupShp optgroup; optgroup = std::make_shared<ConfigOptionsGroup>(panel, _(L("Settings"))); - optgroup->label_width = 100; + optgroup->label_width = int(7.7*wxGetApp().em_unit() + 0.5);//100; optgroup->m_on_change = [this](t_config_option_key opt_key, boost::any value) { update_shape(); }; |