From cd81f65ed73958c0d32999de7b12e8d0e8c4b2f9 Mon Sep 17 00:00:00 2001 From: A_D Date: Thu, 20 Jan 2022 15:20:01 +0200 Subject: [PATCH] Reset geometry and UI scale with --reset-ui --- EDMarketConnector.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index c0f69f08..fb136fca 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -1867,7 +1867,11 @@ sys.path: {sys.path}''' config.set('ui_transparency', 100) # 100 is completely opaque config.delete('font') config.delete('font_size') - logger.info('reset theme, font, font size, and transparency to default.') + + config.set('ui_scale', 100) # 100% is the default here + config.delete('geometry') # unset is recreated by other code + + logger.info('reset theme, transparency, font, font size, ui scale, and ui geometry to default.') # We prefer a UTF-8 encoding gets set, but older Windows versions have # issues with this. From Windows 10 1903 onwards we can rely on the