wrap long artist names and titles

This commit is contained in:
jacqueline
2024-01-18 14:48:28 +11:00
parent c1b7a0c9f2
commit 52f5e95acb
+5 -3
View File
@@ -33,22 +33,24 @@ return function(opts)
align_items = "center",
align_content = "center",
},
w = lvgl.HOR_RES(),
w = lvgl.PCT(100),
h = lvgl.SIZE_CONTENT,
flex_grow = 1,
}
local artist = info:Label {
w = lvgl.SIZE_CONTENT,
w = lvgl.PCT(100),
h = lvgl.SIZE_CONTENT,
text = "",
text_font = font.fusion_10,
text_align = 2,
}
local title = info:Label {
w = lvgl.SIZE_CONTENT,
w = lvgl.PCT(100),
h = lvgl.SIZE_CONTENT,
text = "",
text_align = 2,
}
local playlist = screen.root:Object {