Open the left panel widget in the main shell area. #14546
-
I would like to Open the left panel widget in the main shell area, rather than rendering the content in the sidebar when it is clicked.is there a way to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @YathindraNikshipth, I don't think there's a recommended way of doing this. The issue is that the sidebar is essentially a tabbar for the side (left/right), like the tabbar for editors in the main area. Meaning that any widget that resides on that sidebar tabbar really lives in the sidebar. You might be able to make this work by replacing the tabbar renderer with a custom renderer that allows you to contribute a command instead of a widget. This command would then open the respective widget in the main area. |
Beta Was this translation helpful? Give feedback.
-
Hi @msujew, thanks for your reply. Could you please share a reference for creating a custom tab bar rendering? |
Beta Was this translation helpful? Give feedback.
Hey @YathindraNikshipth,
I don't think there's a recommended way of doing this. The issue is that the sidebar is essentially a tabbar for the side (left/right), like the tabbar for editors in the main area. Meaning that any widget that resides on that sidebar tabbar really lives in the sidebar.
You might be able to make this work by replacing the tabbar renderer with a custom renderer that allows you to contribute a command instead of a widget. This command would then open the respective widget in the main area.