From 4b0bb9f70dd4e8ad2587290192f6317e372ff318 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 11 Jan 2025 20:13:51 +1000 Subject: [PATCH] FullscreenUI: Increase input dialog padding Way too small. --- src/util/imgui_fullscreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/imgui_fullscreen.cpp b/src/util/imgui_fullscreen.cpp index 53b92b084..6d48e4ffd 100644 --- a/src/util/imgui_fullscreen.cpp +++ b/src/util/imgui_fullscreen.cpp @@ -2521,6 +2521,7 @@ void ImGuiFullscreen::DrawInputDialog() ImGui::PushFont(UIStyle.LargeFont); ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, LayoutScale(10.0f)); + ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, LayoutScale(20.0f, 20.0f)); ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, LayoutScale(LAYOUT_MENU_BUTTON_X_PADDING, LAYOUT_MENU_BUTTON_Y_PADDING)); ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 0.0f); @@ -2583,7 +2584,7 @@ void ImGuiFullscreen::DrawInputDialog() GetInputDialogHelpText(s_state.fullscreen_footer_text); ImGui::PopStyleColor(3); - ImGui::PopStyleVar(3); + ImGui::PopStyleVar(4); ImGui::PopFont(); }