Add complex UI docs and samples #2: add color to the text

This commit is contained in:
Evgeny
2024-03-31 08:15:15 +04:00
parent db7149229a
commit 897fee33b7
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ function on_resume()
if app == nil then return end
my_gui = gui{
{"text", "<b>Title</b>", {size = 19, gravity = "center_h"}},
{"text", "<b>Title</b>", {size = 19, color = "#ff0000", gravity = "center_h"}},
{"new_line", 2},
{"text", "Hello, World", {size = 21}},
{"spacer", 2},