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 <wenjie.guo@bambulab.com> Change-Id: Ie820b5a521ad1582b5298cc7a409a1310e9d66f4 (cherry picked from commit aeed84b874d948619e318f8a55d18fbeb143be22)
This commit is contained in:
parent
017c8b5c93
commit
5ab743b9cf
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue