From 462d134b1ee0f366a620bb7b17f641f694b72b09 Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Fri, 24 May 2024 16:42:25 -0300 Subject: [PATCH] vertical layout: increase font size the current version of klipperscreen can have little bit more without breaking the ui in my tests --- ks_includes/KlippyGtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ks_includes/KlippyGtk.py b/ks_includes/KlippyGtk.py index 89373a33..a8451db6 100644 --- a/ks_includes/KlippyGtk.py +++ b/ks_includes/KlippyGtk.py @@ -39,7 +39,7 @@ class KlippyGtk: self.width = screen.width self.height = screen.height self.ultra_tall = (self.height / self.width) >= 3 - self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29] + self.font_ratio = [31, 47] if self.screen.vertical_mode else [43, 29] self.font_size = min(self.width / self.font_ratio[0], self.height / self.font_ratio[1]) self.img_scale = self.font_size * 2 self.button_image_scale = 1.38