Application: improve style of about dialog.

This commit is contained in:
Guillaume Jacquemin 2024-12-12 15:38:00 +01:00
parent 71ca5d7625
commit 826f53c26b
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -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();