From b59d96d9139f9c1ae40244c70b31a2525af9bab3 Mon Sep 17 00:00:00 2001 From: Caraxi Date: Sun, 30 Aug 2020 10:43:35 +0930 Subject: [PATCH] Fix Search Size to avoid search box going out of bounds. --- Dalamud/Plugin/PluginInstallerWindow.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dalamud/Plugin/PluginInstallerWindow.cs b/Dalamud/Plugin/PluginInstallerWindow.cs index e7d67f7e4..30068b3fc 100644 --- a/Dalamud/Plugin/PluginInstallerWindow.cs +++ b/Dalamud/Plugin/PluginInstallerWindow.cs @@ -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();