cancel
Showing results for 
Search instead for 
Did you mean: 

NWBC 5: default sidepanel width adjustable?

dkle
Participant
0 Kudos

Hello,

is there a way to influence the initial sidepanel width when it is opened via button "Open Sidepanel"?

Maybe by setting an NwbcOptions.xml parameter?

Currently the user has to adjust the sidepanel width manually via splitter whenever the sidepanel is opened.

Goal is to have no horizontal scrollbar for the sidepanel content.

The default width is too small.

Best solution would be if we can set the width dynamically for each transaction or via ABAP code.

Thanks and regards

Daniel

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Daniel

We have the same problem.

Did you find a solution for this problem?

Regards

              Claudio

dkle
Participant
0 Kudos

No, there is no way a sidepanel app can tell NWBC 5 to have a specific sidepanel width.

Make the sidepanel content have a dynamic width, or choose one fixed with for all sidepanel apps.

0 Kudos

Thank's Daniel.

We have a narrow side panel and fixed, with this is impossible to use this functionality.

Do you know where the default width can be changed?

Do you know where to change to dynamic width?

The class CL_WD_SIDE_PANEL_API have a atribute C_SIDE_PANEL_DEFAULT_WIDTH with initial value 300.

Thank's Again.

                                Claudio

dkle
Participant
0 Kudos

The default width cannot be set on a system or application level AFAIK.

But it is remembered by NWBC, so if you are using a fixed with for all your sidepanels, the user probably has to set his sidepanel width only once.

The width of the content of the web chip is always dynamic in width, but your content website has to react to it (responsive design, like a Fiori app).

I checked the class in our 740 system, but there is no such attribute. Only three attributes beginng with "M_".