Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-02-04 14:07:15 +0300
committerYuSanka <yusanka@gmail.com>2019-02-04 14:07:15 +0300
commitb7f24aebe34ec9b0d7fb054906cc3f0cb859a96e (patch)
treee5e36b9ea146f96e163b3c417f070cd8b4cb4376 /src/slic3r/GUI/BedShapeDialog.cpp
parente2b8c3e33c0c7e2ade58170403c289b454be4051 (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.cpp2
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();
};