Hi ,
I've created new control via extend and I want to know where should I put the text:... and layoutData
Here how its done in regular way
var oTitle = new sap.ui.core.Title({ text: "{i18n>title_test}", layoutData: new sap.ui.layout.GridData({ span: "L12 M12 S12" }) }); | |||||
I've composite control which I use the title like following and I need to applay both the layout and text
extend....
metadata: { | ||||
aggregations: { | ||||
title: { | ||||
type: "sap.ui.commons.Label", | ||||
multiple: false | ||||
}, |