Improved negative space in menu bar of file browser

This commit is contained in:
Antoine Pilote
2024-04-11 19:54:44 -04:00
parent f916d315f4
commit 80d1be5aa0

View File

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