This commit is contained in:
YuSanka 2019-05-13 18:21:17 +02:00
parent 03ab6aedad
commit 42ab22e243
2 changed files with 2 additions and 2 deletions

View File

@ -445,7 +445,7 @@ FreqChangedParams::FreqChangedParams(wxWindow* parent, const int label_width) :
option = m_og->get_option("fill_density");
option.opt.label = L("Infill");
option.opt.width = 6;
option.opt.width = 7/*6*/;
option.opt.sidetext = " ";
line.append_option(option);

View File

@ -2549,7 +2549,7 @@ ModeSizer::ModeSizer(wxWindow *parent, int hgap/* = 10*/) :
#ifdef __WXOSX__
wxSize sz = parent->GetTextExtent(button.first);
// set default width for ModeButtons to correct rendering on OnFocus under OSX
sz.y += 2 * em_unit(parent);
sz.x += 2 * em_unit(parent);
m_mode_btns.push_back(new ModeButton(parent, wxID_ANY, button.second, button.first, sz));
#else
m_mode_btns.push_back(new ModeButton(parent, wxID_ANY, button.second, button.first));;