diff --git a/README.md b/README.md index e8d0d4e..b5551eb 100644 --- a/README.md +++ b/README.md @@ -84,20 +84,25 @@ This example will show you how to setup the curriculum with KWGT, for KWLP the p "config_visible": "$if((mi(artist) \u003d \"\" | mi(state) !\u003d PLAYING) \u0026 br(qvalentin, rapla-active) \u003d \"True\", ALWAYS, NEVER)$" }, "position_anchor": "TOP", - "position_padding_top": 375.0, "viewgroup_items": [ { "internal_globals": { "paint_color": "backgrou" }, "internal_toggles": { - "paint_color": 100 + "paint_color": 100, + "shape_width": 10, + "shape_height": 10 }, "internal_type": "ShapeModule", "shape_height": 1080.0, "shape_width": 720.0, "shape_type": "RECT", - "position_anchor": "TOP" + "position_anchor": "TOP", + "internal_formulas": { + "shape_width": "$si(rwidth)$", + "shape_height": "$si(rheight)$" + } }, { "internal_type": "TextModule", @@ -106,13 +111,13 @@ This example will show you how to setup the curriculum with KWGT, for KWLP the p "text_size": 25.0, "paint_color": "#FFAEAEAE", "text_size_type": "FIXED_WIDTH", - "text_width": 720.0 - }, - { - "internal_type": "TextModule", - "text_expression": "$br(foo, myvar2)$", - "paint_color": "#FFFF0000", - "position_anchor": "TOP" + "text_width": 720.0, + "internal_toggles": { + "text_width": 10 + }, + "internal_formulas": { + "text_width": "$si(rwidth)$" + } }, { "internal_type": "FontIconModule",