From 80d1be5aa0121752dc6072a5ba68b573661bfd1e Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Thu, 11 Apr 2024 19:54:44 -0400 Subject: [PATCH] Improved negative space in menu bar of file browser --- Editor/src/Windows/FileSystemUI.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Editor/src/Windows/FileSystemUI.cpp b/Editor/src/Windows/FileSystemUI.cpp index d5722d4a..fe9dd6b6 100644 --- a/Editor/src/Windows/FileSystemUI.cpp +++ b/Editor/src/Windows/FileSystemUI.cpp @@ -743,6 +743,7 @@ namespace Nuake avail.y = 30; if (ImGui::BeginChild("Path", avail, true)) { + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, { 2, 4 }); ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0)); const auto buttonSize = ImVec2(26, 26); @@ -834,6 +835,7 @@ namespace Nuake ImGui::PopStyleColor(); // Button color ImGui::SameLine(); + ImGui::PopStyleVar(); } ImGui::EndChild();