cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to expand the width of master page in split app..

Former Member
0 Kudos

Thank in advance........

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Vishnu,

Consider your splitApp id is "oSplitApp", first declare a custom style class in your css file.


.masterStyle{

width:40%;

}

And in the onAfterRendering method of your controller -


var oSplitApp = this.getView().byId("oSplitApp");

oSplitApp.getAggregation("_navMaster").addStyleClass("masterStyle");

I have created a plunk as well, check here SplitAppMaster - Width

Regards,

Sai Vellanki.

Answers (2)

Answers (2)

Former Member
0 Kudos

I am trying to built a app on sap ui5. So I am using sptil view.
But data which coming from odata service,is  going outside from master page..
So is it possible to expand master view or is there any other approach??

Kevin_SAP
Advisor
Advisor
0 Kudos

Thanks, let me move this to the proper space.

Regards,

Kevin

Kevin_SAP
Advisor
Advisor
0 Kudos

Can you expand on your question description?  Software or solution you are using?  What you are trying to accomplish?

Regards,

Kevin