diff options
author | YuSanka <yusanka@gmail.com> | 2018-05-21 00:39:52 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2018-05-21 00:58:09 +0300 |
commit | deabeaaa7fc48691c9b778e11a725f7bd93a0458 (patch) | |
tree | e3db19c8b55f97b687aa05ac0bde814ac43027a4 /xs/src/slic3r/GUI/GUI.cpp | |
parent | fd43e53aeb67b6ad0b3e25b25af2702694b45917 (diff) |
Aligned frequently changing parameters according to presets settings on the Plater tab.
Fixed missing adding of the Filaments preset settings(for multy material case) to the right_panel
Diffstat (limited to 'xs/src/slic3r/GUI/GUI.cpp')
-rw-r--r-- | xs/src/slic3r/GUI/GUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/slic3r/GUI/GUI.cpp b/xs/src/slic3r/GUI/GUI.cpp index 4789f4590..a744bb09d 100644 --- a/xs/src/slic3r/GUI/GUI.cpp +++ b/xs/src/slic3r/GUI/GUI.cpp @@ -809,8 +809,8 @@ void add_frequently_changed_parameters(wxWindow* parent, wxBoxSizer* sizer, wxFl { DynamicPrintConfig* config = &g_PresetBundle->prints.get_edited_preset().config; m_optgroup = std::make_shared<ConfigOptionsGroup>(parent, "", config); -// const wxArrayInt& ar = preset_sizer->GetColWidths(); -// m_optgroup->label_width = ar.IsEmpty() ? 100 : ar.front(); // doesn't work + const wxArrayInt& ar = preset_sizer->GetColWidths(); + m_optgroup->label_width = ar.IsEmpty() ? 100 : ar.front()-4; // doesn't work m_optgroup->m_on_change = [config](t_config_option_key opt_key, boost::any value){ TabPrint* tab_print = nullptr; for (size_t i = 0; i < g_wxTabPanel->GetPageCount(); ++i) { |