From 42ab22e243b7437f0b93ee4a3a0bf843d2a541fb Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 13 May 2019 18:21:17 +0200 Subject: [PATCH] Typo fix --- src/slic3r/GUI/Plater.cpp | 2 +- src/slic3r/GUI/wxExtensions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index be0988567..fd29bcfa8 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -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); diff --git a/src/slic3r/GUI/wxExtensions.cpp b/src/slic3r/GUI/wxExtensions.cpp index fa06cf915..24fe778c9 100644 --- a/src/slic3r/GUI/wxExtensions.cpp +++ b/src/slic3r/GUI/wxExtensions.cpp @@ -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));;