From 5ab743b9cffe54b0d77e3bb51a51289f92806b59 Mon Sep 17 00:00:00 2001 From: "wenjie.guo" Date: Fri, 20 Oct 2023 15:26:47 +0800 Subject: [PATCH] FIX: Change the font size when using German jira: STUDIO-4634 Change the font size of the status panel when using German as the language. Signed-off-by: wenjie.guo Change-Id: Ie820b5a521ad1582b5298cc7a409a1310e9d66f4 (cherry picked from commit aeed84b874d948619e318f8a55d18fbeb143be22) --- src/slic3r/GUI/StatusPanel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index cc6a86da5..cdd58c972 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -1357,6 +1357,7 @@ wxBoxSizer *StatusBasePanel::create_bed_control(wxWindow *parent) m_staticText_z_tip = new wxStaticText(panel, wxID_ANY, _L("Bed"), wxDefaultPosition, wxDefaultSize, 0); m_staticText_z_tip->SetFont(::Label::Body_13); + if (wxGetApp().app_config->get("language") == "de_DE") m_staticText_z_tip->SetFont(::Label::Body_11); m_staticText_z_tip->Wrap(-1); m_staticText_z_tip->SetForegroundColour(TEXT_LIGHT_FONT_COL); bSizer_z_ctrl->Add(m_staticText_z_tip, 0, wxBOTTOM | wxALIGN_CENTER_HORIZONTAL, FromDIP(5));