mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
Standard units don't need translation (#9965)
This commit is contained in:
committed by
GitHub
parent
bd1281954d
commit
fa70582ed1
@@ -135,7 +135,7 @@ wxSizer* ObjectLayers::create_layer(const t_layer_height_range& range, PlusMinus
|
||||
m_grid_sizer->Add(editor, 1, wxEXPAND);
|
||||
|
||||
auto sizer2 = new wxBoxSizer(wxHORIZONTAL);
|
||||
auto unit_text = new wxStaticText(m_parent, wxID_ANY, _L("mm"), wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_END);
|
||||
auto unit_text = new wxStaticText(m_parent, wxID_ANY, "mm", wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_END);
|
||||
unit_text->SetBackgroundStyle(wxBG_STYLE_PAINT);
|
||||
unit_text->SetFont(wxGetApp().normal_font());
|
||||
sizer2->Add(unit_text, 0, wxALIGN_CENTER_VERTICAL);
|
||||
@@ -156,7 +156,7 @@ wxSizer* ObjectLayers::create_layer(const t_layer_height_range& range, PlusMinus
|
||||
//auto sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
//sizer->Add(editor);
|
||||
|
||||
//auto temp = new wxStaticText(m_parent, wxID_ANY, _L("mm"));
|
||||
//auto temp = new wxStaticText(m_parent, wxID_ANY, "mm");
|
||||
//temp->SetBackgroundStyle(wxBG_STYLE_PAINT);
|
||||
//temp->SetFont(wxGetApp().normal_font());
|
||||
//sizer->Add(temp, 0, wxLEFT | wxALIGN_CENTER_VERTICAL, wxGetApp().em_unit());
|
||||
|
||||
Reference in New Issue
Block a user