This commit is contained in:
YuSanka 2019-03-27 13:18:27 +01:00
parent 734d57a714
commit 87febaacc0
2 changed files with 20 additions and 7 deletions

View file

@ -123,8 +123,8 @@ void ObjectSettings::update_settings_list()
continue;
auto optgroup = std::make_shared<ConfigOptionsGroup>(m_og->ctrl_parent(), cat.first, config, false, extra_column);
optgroup->label_width = 15 * wxGetApp().em_unit();//150;
optgroup->sidetext_width = 7 * wxGetApp().em_unit();//70;
optgroup->label_width = 15 * wxGetApp().em_unit();
optgroup->sidetext_width = 5.5 * wxGetApp().em_unit();
optgroup->m_on_change = [](const t_config_option_key& opt_id, const boost::any& value) {
wxGetApp().obj_list()->part_settings_changed(); };
@ -134,7 +134,7 @@ void ObjectSettings::update_settings_list()
if (opt == "extruder")
continue;
Option option = optgroup->get_option(opt);
option.opt.width = 7 * wxGetApp().em_unit();//70;
option.opt.width = 12 * wxGetApp().em_unit();
optgroup->append_single_option_line(option);
}
optgroup->reload_config();