[1.1.50] Controls settings window cuts off long keyboard combinations
Posted: Mon Jan 10, 2022 12:10 pm
The settings window for keyboard controls cuts off long texts. I assume it only affects translations, here shown for German.
This causes some issues with actions bound to the numpad. Marked in red are “Increase game speed”, “Decrease game speed” and “Set game speed to 1”, which are all three by default bound to [Shift]+Something on the number pad. But you can’t know which key it is, because the number (or symbol) is cut off. The only way to find out is by reading the config.ini file or by simply trying all keys and observe what happens. There are three possible solutions I can suggest:
This causes some issues with actions bound to the numpad. Marked in red are “Increase game speed”, “Decrease game speed” and “Set game speed to 1”, which are all three by default bound to [Shift]+Something on the number pad. But you can’t know which key it is, because the number (or symbol) is cut off. The only way to find out is by reading the config.ini file or by simply trying all keys and observe what happens. There are three possible solutions I can suggest:
- When text is cut off, add the full text to the tooltip. I.e. If the text is shortened to fit, change the tooltip from „Right click to un-bind.“ to be „Full text of the assigned keyboard combination \n Right click to un-bind.“
- (Dynamically) widen the window a bit, so that it fits. There is still screen space available at the left and right side, even on square screens.
- Change the translation for German key pad symbols from „Nummernblock X“ to “X (Nummernblock)”, where X is the symbol on the key pad. This way, it still cuts off parts of the text, but it will remove redundant information instead of the crucial part. When going this route, other languages should probably checked as well