Limit GUI scale by window size, fix tooltip dash glyph

Manual GUI scale is now limited so that UI is never smaller than
640x480 units (as in other games), otherwise menus did not fit the
window at scale 3-4 in small windows. The unsupported en dash in the
setting tooltip is replaced with a hyphen.
This commit is contained in:
loki5512344 2026-10-03 13:06:07 +00:00
parent 708c276787
commit 851c1a0e27
3 changed files with 15 additions and 13 deletions

View file

@ -41,7 +41,7 @@ struct DisplaySettings {
FlagSetting limitFpsIconified {false};
/// @brief Adaptive framerate in menu (experimental)
FlagSetting adaptiveFpsInMenu {false};
/// @brief GUI scale factor (0 - auto, 1..4 - fixed integer scale)
/// @brief GUI scale factor (0 - auto, 1..4 - integer scale limited by window size)
IntegerSetting guiScale {0, 0, 4};
};