Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problem in re sizing and re arranging the tiles.

I have used tiles in SAPUI5 screen. I am unable to resize and reorganize them. I want four tiles in a row but tiles gets rearranged with respect to the size of the screen. I have shared the code and screenshot.

var container1 = new sap.m.TileContainer({

tiles:[

new sap.m.StandardTile({

icon : "sap-icon://Enterprise",

title:"Enterprise Structure",

/*press:function(){

oController.navigateToCustomer();

},*/

}),

new sap.m.StandardTile({

icon:"sap-icon://crm-sales",

title:"Master Data",

press:function(){

oController.navigateToMasterdata();

},

}),

new sap.m.StandardTile({

icon:"sap-icon://supplier",

title:"SD",

}),

new sap.m.StandardTile({

icon:"sap-icon://my-sales-order",

title:"MM",

}),

new sap.m.StandardTile({

icon:"sap-icon://crm-sales",

title:"FI",

}),

new sap.m.StandardTile({

icon:"sap-icon://crm-sales",

title:"CO",

}),

new sap.m.StandardTile({

icon:"sap-icon://crm-sales",

title:"PP",

}),

new sap.m.StandardTile({

icon:"sap-icon://crm-sales",

title:"PM",

}),

]

});

screenshot.png (108103 B)
Tags:
Former Member
Former Member replied

Hi Arpit,

Why dont you use four StandardTiles each inside two TileContainers,

below is the code example please have a look into it,

Edit fiddle - JSFiddle

regards,

Nagarjun

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question