commit fd7693a1
Limit the width of the Controller field
Changed files
| M | source/code/HelpGamepadState.cpp before |
diff --git a/source/code/HelpGamepadState.cpp b/source/code/HelpGamepadState.cpp
index 8b6c819..a164199 100644
--- a/source/code/HelpGamepadState.cpp
+++ b/source/code/HelpGamepadState.cpp
@@ -64,6 +64,7 @@ HelpGamepadState::HelpGamepadState() {
s+= GetSupportedControllerNames().at(i);
}
setHelpGamepadFont(&globalData.spriteHolder->GetDataHolder(), supportedControllers, s.c_str());
+ supportedControllers.SetMaxWidth(740);
}
HelpGamepadState::~HelpGamepadState() {