Skip to content

Commit

Permalink
the text isn't aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
Akechi-kun committed Feb 24, 2025
1 parent 355bc26 commit 3235481
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BossMod/Config/ModuleViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3235481

Please sign in to comment.