mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX:fix release note dialog infomation display
Change-Id: Id177f95b3f9cfd0dd3b86e71c80a0048a47a8ac5
This commit is contained in:
parent
aa59c93eb5
commit
237d4c65d1
19 changed files with 107 additions and 39 deletions
|
@ -81,7 +81,7 @@ void ReleaseNoteDialog::on_dpi_changed(const wxRect &suggested_rect)
|
|||
|
||||
void ReleaseNoteDialog::update_release_note(wxString release_note, std::string version)
|
||||
{
|
||||
m_text_up_info->SetLabel(wxString::Format("version %s update information :", version));
|
||||
m_text_up_info->SetLabel(wxString::Format(_L("version %s update information :"), version));
|
||||
wxBoxSizer * sizer_text_release_note = new wxBoxSizer(wxVERTICAL);
|
||||
auto m_staticText_release_note = new wxStaticText(m_scrollwindw_release_note, wxID_ANY, release_note, wxDefaultPosition, wxDefaultSize, 0);
|
||||
m_staticText_release_note->Wrap(FromDIP(530));
|
||||
|
@ -190,7 +190,7 @@ void UpdateVersionDialog::on_dpi_changed(const wxRect &suggested_rect) {
|
|||
|
||||
void UpdateVersionDialog::update_version_info(wxString release_note, wxString version)
|
||||
{
|
||||
m_text_up_info->SetLabel(wxString::Format("Click to download new version in default browser: %s", version));
|
||||
m_text_up_info->SetLabel(wxString::Format(_L("Click to download new version in default browser: %s"), version));
|
||||
wxBoxSizer *sizer_text_release_note = new wxBoxSizer(wxVERTICAL);
|
||||
auto m_staticText_release_note = new wxStaticText(m_scrollwindw_release_note, wxID_ANY, release_note, wxDefaultPosition, wxDefaultSize, 0);
|
||||
m_staticText_release_note->Wrap(FromDIP(530));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue