summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2025-01-06 14:45:17 +1100
committerailurux <ailuruxx@gmail.com>2025-01-06 14:45:17 +1100
commit4ad5f1b63761f042734d1cc1eab2649186092ee5 (patch)
treea0b82d52612ce8b86533e902014fa4738285d7de /lua
parent7aad24e073770d00c170a64f09f555255d26de25 (diff)
downloadtangara-fw-4ad5f1b63761f042734d1cc1eab2649186092ee5.tar.gz
Reduce horizontal spacing on controls for more room for additional info button
Diffstat (limited to 'lua')
-rw-r--r--lua/playing.lua2
-rw-r--r--lua/theme_hicon.lua3
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,