Skip to Content

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

Change background in SAPUI5

Hello!
I'm new to SAP UI5 and I'm facing a problem that was faced before around by some other colleagues in a different way.

I have this main index page with a light blue background and I would like it to have the same background as my CRUDS views background, the blue-greenish gradient from the blue crystal theme.

Is there a way I can set the backgroundDesign property in my sap.m.Page component in order to have the desired background?




This is the background I need to change:



This is how I want it to look like:



Thanks a lot!

Tags:
Former Member replied

Hi Rodrigo,

You can use a Shell component to wrap your pages, this control already contains properties that will handle width (in case you need to resize your app like that in order to show the background on the sides and you app centralized) and also background.

See more in OpenUI5 SDK - Demo Kit - Shell

Please reward if helpful.

Thanks.

2 View this answer in context

Helpful Answer

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