Localization improvements
This commit is contained in:
parent
6bcfc3fe83
commit
3acbc07caf
@ -1801,7 +1801,7 @@ bool ConfigWizard::priv::check_sla_selected()
|
|||||||
// Public
|
// Public
|
||||||
|
|
||||||
ConfigWizard::ConfigWizard(wxWindow *parent)
|
ConfigWizard::ConfigWizard(wxWindow *parent)
|
||||||
: DPIDialog(parent, wxID_ANY, wxString(SLIC3R_APP_NAME) + " - " + name(), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
|
: DPIDialog(parent, wxID_ANY, wxString(SLIC3R_APP_NAME) + " - " + _(name().ToStdString()), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
|
||||||
, p(new priv(this))
|
, p(new priv(this))
|
||||||
{
|
{
|
||||||
this->SetFont(wxGetApp().normal_font());
|
this->SetFont(wxGetApp().normal_font());
|
||||||
|
@ -299,6 +299,7 @@ void GLCanvas3D::LayersEditing::render_overlay(const GLCanvas3D& canvas) const
|
|||||||
ImGui::SetCursorPosX(text_align);
|
ImGui::SetCursorPosX(text_align);
|
||||||
imgui.text(_(L("Keep min")));
|
imgui.text(_(L("Keep min")));
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
if (ImGui::GetCursorPosX() < widget_align) // because of line lenght after localization
|
||||||
ImGui::SetCursorPosX(widget_align);
|
ImGui::SetCursorPosX(widget_align);
|
||||||
ImGui::PushItemWidth(imgui.get_style_scaling() * 120.0f);
|
ImGui::PushItemWidth(imgui.get_style_scaling() * 120.0f);
|
||||||
imgui.checkbox("##2", m_smooth_params.keep_min);
|
imgui.checkbox("##2", m_smooth_params.keep_min);
|
||||||
|
Loading…
Reference in New Issue
Block a user