Erch
Erch

Reputation: 625

manifest.json, full width

there seem to be 2 ways of telling the framework if the full screen width shell be used in a ui5 app:

enter image description here

If both are specified the upper one seems to overrule the bottom one. Which of them should be used and why?

Upvotes: 1

Views: 4416

Answers (1)

Nandan Chaturvedi
Nandan Chaturvedi

Reputation: 1098

The property in the config is for providing values to the Component of your application.

Whereas,

"fullWidth" is part of the namespace "sap.ui" which takes priority as it is a defined property for the manifest(Descriptor for Application).

Manifest is called from the Component which has this defined property and will take preference while running your application.

Upvotes: 1

Related Questions