diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-08-26 17:27:51 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-08-27 11:37:34 +0300 |
commit | 4edae08a11c00344178c1235086348fd59c044d2 (patch) | |
tree | c544e0120d0ac46a741b4625a3d349832a51a824 /src/slic3r/GUI/UpdateDialogs.cpp | |
parent | a1f34adcf6b4e48f00056b00fea534b5af5649a5 (diff) |
UpdateDialogs: Fix: Wrap update description
Diffstat (limited to 'src/slic3r/GUI/UpdateDialogs.cpp')
-rw-r--r-- | src/slic3r/GUI/UpdateDialogs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slic3r/GUI/UpdateDialogs.cpp b/src/slic3r/GUI/UpdateDialogs.cpp index 2ea904007..a1a113066 100644 --- a/src/slic3r/GUI/UpdateDialogs.cpp +++ b/src/slic3r/GUI/UpdateDialogs.cpp @@ -113,7 +113,9 @@ MsgUpdateConfig::MsgUpdateConfig(const std::vector<Update> &updates) : if (! update.comment.empty()) { flex->Add(new wxStaticText(this, wxID_ANY, _(L("Comment:"))), 0, wxALIGN_RIGHT); - flex->Add(new wxStaticText(this, wxID_ANY, from_u8(update.comment))); + auto *update_comment = new wxStaticText(this, wxID_ANY, from_u8(update.comment)); + update_comment->Wrap(CONTENT_WIDTH * wxGetApp().em_unit()); + flex->Add(update_comment); } versions->Add(flex); |