From 32354817006e470173628eb1d7afeee97b2cd581 Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 24 Feb 2025 13:50:27 -0800 Subject: [PATCH] the text isn't aligned --- BossMod/Config/ModuleViewer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BossMod/Config/ModuleViewer.cs b/BossMod/Config/ModuleViewer.cs index c437307c3..42a125887 100644 --- a/BossMod/Config/ModuleViewer.cs +++ b/BossMod/Config/ModuleViewer.cs @@ -136,8 +136,10 @@ private void DrawFilters() return; ImGui.TableNextColumn(); + ImGui.AlignTextToFramePadding(); // Ensures text aligns with input box ImGui.Text("Search:"); ImGui.SameLine(); + ImGui.SetNextItemWidth(-1); // Makes the input box take up the rest of the row ImGui.InputTextWithHint("##search", "e.g. \"Ultimate\"", ref _searchText, 100, ImGuiInputTextFlags.CallbackCompletion); ImGui.TableNextColumn();