From 110c99a155dd568bba4751d3c193a7c11d387df1 Mon Sep 17 00:00:00 2001 From: maj00r Date: Thu, 8 Oct 2026 00:51:29 +0200 Subject: [PATCH] fix(launcher): map credits of the wizard of a new scenery wrapped to the width of its panel --- launcher/scenery_wizard.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/launcher/scenery_wizard.cpp b/launcher/scenery_wizard.cpp index a6c96520..e4c30138 100644 --- a/launcher/scenery_wizard.cpp +++ b/launcher/scenery_wizard.cpp @@ -345,7 +345,9 @@ void ui::scenerywizard_panel::render_form() if (false == m_status.empty()) ImGui::TextWrapped("%s", m_status.c_str()); ImGui::Spacing(); - ImGui::TextDisabled("%s", STR_C("Map: (c) OpenStreetMap contributors, served by geoportal.gov.pl")); + ImGui::PushStyleColor(ImGuiCol_Text, ImGui::GetStyleColorVec4(ImGuiCol_TextDisabled)); + ImGui::TextWrapped("%s", STR_C("Map: (c) OpenStreetMap contributors, served by geoportal.gov.pl")); + ImGui::PopStyleColor(); } bool ui::scenerywizard_panel::create_scenery()