From d6351b49cf15f6b8f5e4b16297d8ae12f152fa9a Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Thu, 8 May 2025 12:08:49 +0200 Subject: [PATCH] laucher: remove magic number --- .../builtin/apps/com.example.launcher/assets/launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_filesystem/builtin/apps/com.example.launcher/assets/launcher.py b/internal_filesystem/builtin/apps/com.example.launcher/assets/launcher.py index 40b544bd..fd1e59bf 100644 --- a/internal_filesystem/builtin/apps/com.example.launcher/assets/launcher.py +++ b/internal_filesystem/builtin/apps/com.example.launcher/assets/launcher.py @@ -24,7 +24,7 @@ cont.set_flex_flow(lv.FLEX_FLOW.ROW_WRAP) # Grid parameters icon_size = 64 # Adjust based on your display label_height = 24 -iconcont_width = icon_size + 24 +iconcont_width = icon_size + label_height iconcont_height = icon_size + label_height import time