Message improvement Warning Change XML version

This commit is contained in:
Bruno Herbelin
2022-04-16 23:52:13 +02:00
parent 1e7dbb5331
commit 1fe63b68ee
2 changed files with 5 additions and 5 deletions

View File

@@ -281,10 +281,10 @@ void Log::Render(bool *showWarnings)
ImGui::OpenPopup("Warning");
if (ImGui::BeginPopupModal("Warning", NULL, ImGuiWindowFlags_AlwaysAutoResize))
{
ImGuiToolkit::Icon(9, 4);
ImGuiToolkit::Icon(7, 14);
ImGui::SameLine(0, IMGUI_SAME_LINE);
ImGui::SetNextItemWidth(width);
ImGui::TextColored(ImVec4(1.0f,0.6f,0.0f,1.0f), "%ld error(s) occurred.\n\n", warnings.size());
ImGui::TextColored(ImVec4(1.0f,0.6f,0.0f,1.0f), "%ld problem(s) occurred.\n\n", warnings.size());
ImGui::Dummy(ImVec2(width, 0));
ImGui::PushTextWrapPos(ImGui::GetCursorPos().x + width);