cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 full screen app

06-01-2017 8:22 PM
15366 views 8 comments
SAP Managed Tags
Subscribe

Hi ! I've createa an app using template 'SAP UI5 Application' in webIDE, but the app is not showing full screen. It has lateral borders. Is there any way I can set it to be full screen ?

I tried setting in component.js config : { fullWidth : true} but it doesn't do anything.

I am using:

<script id="sap-ui-bootstrap" src="../../resources/sap-ui-core.js" data-sap-ui-libs="sap.m" data-sap-ui-theme="sap_belize" data-sap-ui-compatVersion="edge" > </script>

The app is custom, neither master-detail nor list, that's why I'm using simple UI5 App template.

Thanks

View Entire Topic

This will fix your problem:

In your component file add configuration for full screen as:

metadata: { manifest: "json", 
config: { fullWidth: true } <-- this line of code

},
german_castaneda
Discoverer
0 Likes

I added this line of code and also removed the <shell ... from my project.view.xml file