Font
Last updated
Was this helpful?
Last updated
Was this helpful?
{
"type": "Font",
"properties": {
"titleLabel": "Title font:",
"hasAlignment": false,
"hasCapitalisation": true,
"hasTitle": false,
"hasBold": true,
"hasItalics": true,
"hasUnderline": true,
"hasColor": true,
"hasOpacity": true,
"hasSize": true,
"bindingPropertyName": "labels"
}
}
The property name needs to match the string specified in bindingPropertyName property.
{
"labels": {
"text": "",
"enabled": true,
"font": {
"weight": "normal",
"style": "normal",
"decoration": "none",
"color": [
{
"color": "#333333",
"alpha": 1,
"ratio": 0
}
],
"size": 15,
"family": "Open Sans",
"align": "left",
"verticalAlign": "top"
},
"capitalisation": "upper"
}
}
This element has a number of configurable properties. If a property has a default value then you do not need to provide it in the propertyPanel.json file unless you want to specify a value different to the default.
string - the parent property name from defaultState with which to connect to.
mandatory