Skip to content

Commit

Permalink
the text is aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
Akechi-kun committed Feb 24, 2025
1 parent 3235481 commit 914ae86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions BossMod/Config/ModuleViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,13 @@ private void DrawFilters()
return;

ImGui.TableNextColumn();
ImGui.AlignTextToFramePadding(); // Ensures text aligns with input box
ImGui.TableNextColumn(); //spacing with only one seemed to be a bit small on certain window sizes
ImGui.AlignTextToFramePadding();
ImGui.Text("Search:");
ImGui.SameLine();
ImGui.SetNextItemWidth(-1); // Makes the input box take up the rest of the row
ImGui.SetNextItemWidth(-1);
ImGui.InputTextWithHint("##search", "e.g. \"Ultimate\"", ref _searchText, 100, ImGuiInputTextFlags.CallbackCompletion);
ImGui.TableNextColumn();

ImGui.TableNextColumn();
ImGui.TableHeader("Expansion");
Expand Down

0 comments on commit 914ae86

Please sign in to comment.