mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
UpdateDialogs: Fix: Wrap update description
This commit is contained in:
parent
a1f34adcf6
commit
4edae08a11
2 changed files with 37 additions and 29 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue