Fixed margins for FreqChangedParams

This commit is contained in:
YuSanka 2019-07-10 15:55:53 +02:00
parent 1f74d7fdfc
commit 1dc0439a31
2 changed files with 14 additions and 7 deletions

View file

@ -162,6 +162,12 @@ public:
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),