From 826f53c26b6a8ae760ba173975849c8cbba98405 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquemin Date: Thu, 12 Dec 2024 15:38:00 +0100 Subject: [PATCH] Application: improve style of about dialog. --- src/Application/Application_drawAbout.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Application/Application_drawAbout.cpp b/src/Application/Application_drawAbout.cpp index c8ef16c..477be5d 100644 --- a/src/Application/Application_drawAbout.cpp +++ b/src/Application/Application_drawAbout.cpp @@ -101,8 +101,6 @@ Application::drawAbout() { if(ImGui::CollapsingHeader("Third-party components")) { ImGui::TextWrapped("This application uses the following third-party components:"); - ImGui::PushStyleVar(ImGuiStyleVar_IndentSpacing, 0.0f); - if(ImGui::TreeNodeEx("Corrade", ImGuiTreeNodeFlags_SpanAvailWidth)) { ImGui::Text("Version used: %s", CORRADE_VERSION_STRING); auto corrade_website = "https://magnum.graphics/corrade"; @@ -264,8 +262,6 @@ Application::drawAbout() { ImGui::TreePop(); } - - ImGui::PopStyleVar(); } ImGui::EndPopup();