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:
authorbubnikv <bubnikv@gmail.com>2019-07-22 10:36:55 +0300
committerbubnikv <bubnikv@gmail.com>2019-07-22 10:36:55 +0300
commit8112d80fa2ffd21ce6b4f20549fc39048445747b (patch)
tree7b9526fce88f88d955e382d1bf0a81b449e4f7fa /src/slic3r/GUI/OptionsGroup.hpp
parent040f1fedff1f4caa310622c54adbc3d5d5b97aab (diff)
parentb60b44ed5e297c3fa18097fc8123db83bdd22758 (diff)
Merge branch 'master' into ys_overrides
Diffstat (limited to 'src/slic3r/GUI/OptionsGroup.hpp')
-rw-r--r--src/slic3r/GUI/OptionsGroup.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slic3r/GUI/OptionsGroup.hpp b/src/slic3r/GUI/OptionsGroup.hpp
index f7b536e9c..cc3d89b1f 100644
--- a/src/slic3r/GUI/OptionsGroup.hpp
+++ b/src/slic3r/GUI/OptionsGroup.hpp
@@ -160,6 +160,14 @@ public:
m_show_modified_btns = show;
}
+ void clear_fields_except_of(const std::vector<std::string> left_fields);
+
+ void hide_labels() {
+ label_width = 0;
+ m_grid_sizer->SetCols(m_grid_sizer->GetEffectiveColsCount()-1);
+ static_cast<wxFlexGridSizer*>(m_grid_sizer)->AddGrowableCol(!extra_column ? 0 : 1);
+ }
+
OptionsGroup( wxWindow* _parent, const wxString& title, bool is_tab_opt = false,
column_t extra_clmn = nullptr) :
m_parent(_parent), title(title),