From 28bf70c4d95132ce913233567283669b4d8f60e1 Mon Sep 17 00:00:00 2001 From: tritonas00 Date: Sat, 12 Feb 2022 18:39:22 +0200 Subject: [PATCH] bigger shortcut buttons --- source/main/gui/panels/GUI_GameControls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main/gui/panels/GUI_GameControls.cpp b/source/main/gui/panels/GUI_GameControls.cpp index af962acf7e..f5d0b29294 100644 --- a/source/main/gui/panels/GUI_GameControls.cpp +++ b/source/main/gui/panels/GUI_GameControls.cpp @@ -183,7 +183,7 @@ void GameControls::DrawEvent(RoR::events ev_code) ImGui::PushID(&trig); - if (ImGui::Button(App::GetInputEngine()->getTriggerCommand(trig).c_str())) + if (ImGui::Button(App::GetInputEngine()->getTriggerCommand(trig).c_str(), ImVec2(ImGui::GetColumnWidth() - 2*ImGui::GetStyle().ItemSpacing.x, 0))) { // Begin interactive keybind m_active_event = ev_code;