Skip to Content

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

How can i implement fullscreen button in splitApp

Hi Everyone,

I have been trying to find a solution to implement a fullscreen button in my splitApp, which makes detailPage part of the splitApp  as fullscreen (as wide as the screen).

I have a view which has the following code in createContent:

createContent : function( controller ) {

        if ( ! ) {

            this.addStyleClass( "sapUiSizeCompact" );


        this.splitApp = new sap.m.SplitApp( "MySplitApp" ); = new sap.m.Shell("MyShell",{

        app : this.splitApp



Here is what i have tried for making detailPage as fullscreen. I have another view which has a fullscreen button, which when pressed hides the masterPage and i can see only the detailPage. So far so good. But i also want to make the detailPage as wide as the screen, which i am not able to find solution to. I have tried using setAppWidthLimited(false) method but it doesn't work. Any suggestion would be very helpful.

Thanks and Regards,


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