Fix Search Size to avoid search box going out of bounds.

This commit is contained in:
Caraxi 2020-08-30 10:43:35 +09:30
parent 6d8df89ca6
commit b59d96d913

View file

@ -57,7 +57,8 @@ namespace Dalamud.Plugin
ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoScrollbar);
ImGui.Text(Loc.Localize("InstallerHint", "This window allows you install and remove in-game plugins.\nThey are made by third-party developers."));
ImGui.SameLine();
ImGui.SameLine(ImGui.GetWindowWidth() - 250);
ImGui.SetNextItemWidth(240);
ImGui.InputTextWithHint("###XPlPluginInstaller_Search", Loc.Localize("InstallerSearch", "Search"), ref this.searchText, 100);
ImGui.Separator();