diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2019-05-17 15:17:49 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2019-06-14 16:03:42 +0300 |
commit | 9f236bc6030a2a59db714e41d366e63d8855683e (patch) | |
tree | 74a0d943d9970bb0c303ed610c5b671894527c05 /src/slic3r/GUI/OptionsGroup.cpp | |
parent | ed4b71eb1535c5773fb789d41c874b13875ee3f2 (diff) |
Added transformation reset buttons in object manipulation panel
Diffstat (limited to 'src/slic3r/GUI/OptionsGroup.cpp')
-rw-r--r-- | src/slic3r/GUI/OptionsGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/OptionsGroup.cpp b/src/slic3r/GUI/OptionsGroup.cpp index 2ac6b00af..014932900 100644 --- a/src/slic3r/GUI/OptionsGroup.cpp +++ b/src/slic3r/GUI/OptionsGroup.cpp @@ -276,7 +276,7 @@ void OptionsGroup::append_line(const Line& line, wxStaticText** full_Label/* = n // add sidetext if any if (option.sidetext != "") { auto sidetext = new wxStaticText( this->ctrl_parent(), wxID_ANY, _(option.sidetext), wxDefaultPosition, - /*wxSize(sidetext_width*wxGetApp().em_unit(), -1)*/wxDefaultSize, wxALIGN_LEFT); + wxSize(sidetext_width != -1 ? sidetext_width*wxGetApp().em_unit() : -1, -1) /*wxDefaultSize*/, wxALIGN_LEFT); sidetext->SetBackgroundStyle(wxBG_STYLE_PAINT); sidetext->SetFont(wxGetApp().normal_font()); sizer_tmp->Add(sidetext, 0, wxLEFT | wxALIGN_CENTER_VERTICAL, 4); |