From 4ad5f1b63761f042734d1cc1eab2649186092ee5 Mon Sep 17 00:00:00 2001 From: ailurux Date: Mon, 6 Jan 2025 14:45:17 +1100 Subject: [PATCH] Reduce horizontal spacing on controls for more room for additional info button --- lua/playing.lua | 2 +- lua/theme_hicon.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/playing.lua b/lua/playing.lua index 84e31962..e986273c 100644 --- a/lua/playing.lua +++ b/lua/playing.lua @@ -177,7 +177,7 @@ return screen:new { }, w = lvgl.PCT(100), h = lvgl.SIZE_CONTENT, - pad_column = 6, + pad_column = 5, pad_all = 2, } diff --git a/lua/theme_hicon.lua b/lua/theme_hicon.lua index 7c7db188..1c654fb4 100644 --- a/lua/theme_hicon.lua +++ b/lua/theme_hicon.lua @@ -101,6 +101,7 @@ local theme_hicon = { }}, {lvgl.PART.KNOB, lvgl.Style { radius = 32767, -- LV_RADIUS_CIRCLE = 0x7fff + pad_all = 1, bg_color = background_color, border_color = text_color, border_width = 1, @@ -144,7 +145,7 @@ local theme_hicon = { pad_all = 1, }}, {lvgl.PART.KNOB | lvgl.STATE.EDITED, lvgl.Style { - pad_all = 4, + pad_all = 2, }}, {lvgl.PART.INDICATOR | lvgl.STATE.CHECKED, lvgl.Style { bg_color = text_color,