From 96e85c0685e02980279cb464a0bde764d4bae536 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 7 Sep 2022 11:32:33 +0200 Subject: [PATCH] ui: Removed unused space in hex editor footer --- plugins/builtin/source/content/views/view_hex_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/views/view_hex_editor.cpp b/plugins/builtin/source/content/views/view_hex_editor.cpp index fed713d82..5dafc88d3 100644 --- a/plugins/builtin/source/content/views/view_hex_editor.cpp +++ b/plugins/builtin/source/content/views/view_hex_editor.cpp @@ -1152,7 +1152,7 @@ namespace hex::plugin::builtin { void ViewHexEditor::drawContent() { if (ImGui::Begin(View::toWindowName(this->getUnlocalizedName()).c_str(), &this->getWindowOpenState(), ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse)) { - const auto FooterSize = ImVec2(ImGui::GetContentRegionAvail().x, ImGui::GetTextLineHeightWithSpacing() * 3); + const auto FooterSize = ImVec2(ImGui::GetContentRegionAvail().x, ImGui::GetTextLineHeightWithSpacing() * 2.3); const auto TableSize = ImGui::GetContentRegionAvail() - ImVec2(0, FooterSize.y); this->drawPopup();