Application: improve style of about dialog.
This commit is contained in:
parent
71ca5d7625
commit
826f53c26b
1 changed files with 0 additions and 4 deletions
|
@ -101,8 +101,6 @@ Application::drawAbout() {
|
||||||
if(ImGui::CollapsingHeader("Third-party components")) {
|
if(ImGui::CollapsingHeader("Third-party components")) {
|
||||||
ImGui::TextWrapped("This application uses the following 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)) {
|
if(ImGui::TreeNodeEx("Corrade", ImGuiTreeNodeFlags_SpanAvailWidth)) {
|
||||||
ImGui::Text("Version used: %s", CORRADE_VERSION_STRING);
|
ImGui::Text("Version used: %s", CORRADE_VERSION_STRING);
|
||||||
auto corrade_website = "https://magnum.graphics/corrade";
|
auto corrade_website = "https://magnum.graphics/corrade";
|
||||||
|
@ -264,8 +262,6 @@ Application::drawAbout() {
|
||||||
|
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::PopStyleVar();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
|
|
Loading…
Reference in a new issue