I want to have several lines of labels (alfresco/html/Label widget). But if I create such Aikau model, it doesn't work correct (see attached image – it works for Logo widgets, but all text is on one line):
model.jsonModel = {
widgets: [
{
name: "alfresco/layout/VerticalWidgets",
"config": {
"widgetMarginTop": 10,
"widgetMarginBottom": 10,
"widgets": [
{
"name": "alfresco/logo/Logo"
},
{
"name": "alfresco/logo/Logo"
},
{
name: "alfresco/html/Label",
config: {
label: "text1 text2"
}
},
{
name: "alfresco/html/Label",
config: {
label: "text3 text4"
}
}
]
}
}
]
};