Hello everyone!
I’m creating an app with the Dynamic Components Extension created by @yusufcihan and I created a schema template following the Github instructions.
My problem is that, when I use the JSON template on my app, the card doesn’t display properly:
The template was created from this app
My app displays this…
My schema:
{
“name”: “dynamictemplate”,
“metadata-version”: 1,
“author”: “Markus Urban”,
“platforms”: [
“Kodular”
],
“keys”: [
“title”,
“icon”,
“color”
],
“components”: [
{
“id”: “project_category”,
“type”: “VerticalArrangement”,
“properties”: {
“BackgroundColor”: 4294967295,
“Width”: -1080,
“isCard”: true
},
“components”: [
{
“id”: “Space7_copy1_copy_copy_copy”,
“type”: “SpaceView”,
“properties”: {
“Height”: 10,
“Width”: -2
}
},
{
“id”: “Horizontal_Arrangement3_copy_copy_copy”,
“type”: “HorizontalArrangement”,
“properties”: {
“AlignVertical”: 2,
“Width”: -2
},
“components”: [
{
“id”: “Space8_copy1_copy_copy”,
“type”: “SpaceView”,
“properties”: {
“Height”: -2,
“Width”: 20
}
},
{
“id”: “category_name”,
“type”: “Label”,
“properties”: {
“FontTypefaceImport”: “bold.ttf”,
“Width”: -2,
“Text”: “{title}”,
“TextColor”: 4284513675
}
},
{
“id”: “category_icon”,
“type”: “Label”,
“properties”: {
“FontSize”: 30,
“FontTypefaceImport”: “material.ttf”,
“Text”: “{icon}”,
“TextColor”: “{color}”
}
}
]
},
{
“id”: “Space7_copy_copy_copy_copy”,
“type”: “SpaceView”,
“properties”: {
“Height”: 10,
“Width”: -2
}
}
]
}
]
}
How can I solve that?
Thank you very much for your help,
Markus