Is their a way to read, for example, a #form_button_text and use c++ mapping to extract a vector from the string. So lets say I pass in the button [10, 10] And I want to use that for the size of my button.
So I would use bindings like so:
{
"my_custom_button": {
"type": "panel",
"size": "#custom_size"
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "form_buttons",
"binding_condition": "none",
"binding_name": "#form_button_text",
"binding_name_override": "#form_button_text"
},
{
"binding_type": "view",
"source_property_name": "#form_button_text",
"target_property_name": "#custom_size"
}
]
}
}
However this does not work, additonally trying to map specific properties to keys inside the vector also does not work. So if there is a way I do not know about, please tell me here! 