From 893ca93e02979a9408e53cf992e2c48f96be9777 Mon Sep 17 00:00:00 2001 From: Raymond Date: Sun, 3 Oct 2021 11:14:42 -0400 Subject: [PATCH] Put ItemSpacing from DrawPluginTabBar into category view --- Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index 8bf4a57ba..73e5f99b9 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -715,6 +715,8 @@ namespace Dalamud.Interface.Internal.Windows return; } + ImGui.PushStyleVar(ImGuiStyleVar.ItemSpacing, ImGuiHelpers.ScaledVector2(1, 3)); + var groupInfo = this.categoryManager.GroupList[this.categoryManager.CurrentGroupIdx]; if (groupInfo.GroupKind == PluginCategoryManager.GroupKind.DevTools) { @@ -776,6 +778,8 @@ namespace Dalamud.Interface.Internal.Windows ImGui.Text(Locs.TabBody_SearchNoCompatible); } } + + ImGui.PopStyleVar(); } private void DrawImageTester()