Skip to content

How to move left panel to right and remove right one? #15120

Answered by sdirix
Orangewithsugar asked this question in Q&A
Discussion options

You must be logged in to vote

The right and left panel handlers are used throughout the application-shell so I don't think you can just dispose their dockPanels, as the application-shell does not expect nor handle this case. This is why you get the error message.

One way of "moving the left panel to the right" and "removing the right" could be to:

  • Overwrite the way widgets are added, i.e. widgets which were indicated to open to the left, are added to the right instead, see here
  • Overwrite the default options of the left panel to be of size 0 when it's empty. Then it can no longer be targeted via drag/drop etc. See here and here.

This way the left panel is essentially gone and every new workspace will open all views t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Orangewithsugar
Comment options

Answer selected by Orangewithsugar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants