From b7f24aebe34ec9b0d7fb054906cc3f0cb859a96e Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 4 Feb 2019 12:07:15 +0100 Subject: Fixed rounding of numbers for the controls width (Try to fix controls flashing on HDPI/linux) --- src/slic3r/GUI/BedShapeDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/slic3r/GUI/BedShapeDialog.cpp') 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(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(); }; -- cgit v1.2.3