Windows: Hook up the UI scale setting. Need a manual resize to update.

This commit is contained in:
Henrik Rydgård committed 2025-02-20 17:06:38 -06:00
1 parent 6f1358755c
commit 852018e899
6 files changed
+15 -1

No files matched your search

+2
View File
@@ -1128,6 +1128,8 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) {
});
#endif
PopupSliderChoice *uiScale = systemSettings->Add(new PopupSliderChoice(&g_Config.iUIScaleFactor, -8, 8, 0, "UI scale factor (DPI adjustment)", screenManager()));
const Path bgPng = GetSysDirectory(DIRECTORY_SYSTEM) / "background.png";
const Path bgJpg = GetSysDirectory(DIRECTORY_SYSTEM) / "background.jpg";
if (File::Exists(bgPng) || File::Exists(bgJpg)) {