From 7b1d361d69f3fa98ff1cd27e1f3c0b1ee62ef5f5 Mon Sep 17 00:00:00 2001 From: jr-k Date: Tue, 27 Aug 2024 01:31:16 +0200 Subject: [PATCH] text wip --- src/model/enum/ContentType.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/model/enum/ContentType.py b/src/model/enum/ContentType.py index 28cdafa..7b6ae82 100644 --- a/src/model/enum/ContentType.py +++ b/src/model/enum/ContentType.py @@ -127,9 +127,19 @@ class ContentType(Enum): elif value == ContentType.TEXT: return json.dumps({ "textLabel": location if location else 'Hello', - "fontSize": 12, - "color": '#FFFFFF', - "backgroundColor": '#000000', + "fontSize": 20, + "color": '#FFFFFFFF', + "fontFamily": "Arial", + "fontBold": None, + "fontItalic": None, + "fontUnderline": None, + "textAlign": "center", + "backgroundColor": '#000000FF', + "scrollEnable": False, + "scrollDirection": "left", + "scrollSpeed": "10", + "singleLine": False, + "margin": 0 }) return location