Fix of #3739 (OSX: set width of "Editing" column

to avoid a column narrowing after a recreating of an application caused by a language changing)

+ Fix related to a bug, reported in #3617, about wrong placement of a "Purging volumes" button
translated to the some languages
This commit is contained in:
YuSanka 2020-03-02 11:33:09 +01:00
parent 11bd62a3e6
commit 7388947e1f
2 changed files with 3 additions and 1 deletions

View file

@ -289,6 +289,7 @@ void ObjectList::create_objects_ctrl()
GetColumn(colName)->SetWidth(20*em);
GetColumn(colPrint)->SetWidth(3*em);
GetColumn(colExtruder)->SetWidth(8*em);
GetColumn(colEditing) ->SetWidth(7*em);
}
}

View file

@ -129,7 +129,8 @@ void OptionsGroup::append_line(const Line& line, wxStaticText** full_Label/* = n
m_options.emplace(opt.opt_id, opt);
// Set sidetext width for a better alignment of options in line
if (option_set.size() > 1) {
// "m_show_modified_btns==true" means that options groups are in tabs
if (option_set.size() > 1 && m_show_modified_btns) {
sidetext_width = Field::def_width_thinner();
/* Temporary commented till UI-review will be completed
if (m_show_modified_btns) // means that options groups are in tabs