Fixed font scaling on HiDPI monitors

This commit is contained in:
Hector van der Aa
2026-05-06 16:10:10 +02:00
parent f857a0a45c
commit fa879267c0
3 changed files with 3 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ def run() -> None:
# Add Inter font to registry and bind as main app font
with dpg.font_registry():
app_font = dpg.add_font("./Inter-Regular.ttf", 18)
app_font = dpg.add_font("./Inter-Regular.ttf", 18*2)
dpg.bind_font(app_font)
dataflux.ui.windows.build_windows(state)