cancel
Showing results for 
Search instead for 
Did you mean: 

Change width of Shell Pane

Former Member
0 Kudos

Hello,

I use the SAPUI5 element 'Shell' and the included pane. Is it possible to change the width of the opened pane? I looked it up in the SDK and found a method 'setPaneWidth' and property 'PaneWidth' but it doesn't work.

Any suggestions on this?

Thanks in advance for your help.

Kind regards,

Stefan

Accepted Solutions (1)

Accepted Solutions (1)

former_member184867
Active Contributor
0 Kudos

Should be working.. check this.

Former Member
0 Kudos

Thank you Atanu it worked.

But why do I have to write

oShell.setPaneWidth(600);

and not

oShell.setPaneWidth("600px");

?

former_member184867
Active Contributor
0 Kudos

if you check the documentation of setPaneWidth() here you will find that iPaneWidth is of type integer.

Former Member
0 Kudos

My mistake! Thanks again for your help!

Answers (0)